Skip to content

Commit

Permalink
Fixing datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
galvana committed Dec 10, 2024
1 parent cae8493 commit bb7714a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
11 changes: 7 additions & 4 deletions data/dataset/mongo_example_test_dataset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dataset:
fields:
- name: _id
data_categories: [system.operations]
fides_meta:
primary_key: True
- name: customer_id
data_categories: [user.unique_id]
fides_meta:
Expand Down Expand Up @@ -203,10 +205,11 @@ dataset:
data_type: string
- name: id
data_categories: [user.unique_id]
references:
- dataset: mongo_test
field: flights.pilots
direction: from
fides_meta:
references:
- dataset: mongo_test
field: flights.pilots
direction: from
- name: name
data_categories: [user.name]
fides_meta:
Expand Down
1 change: 1 addition & 0 deletions tests/ops/generator/test_data_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
- name: address
fields:
- name: id
fides_meta:
data_type: integer
- name: user_id
- name: street
Expand Down

0 comments on commit bb7714a

Please sign in to comment.