You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Outside of managing transformations, the DataProcessor is responsible for validating constraints, making sure all the ids are unique, and converting back and forth to dicts and json.
Expected behavior
Add filter_valid(self, data): Filter the data using the constraints and return only the valid rows.
fields, constraints, primary_key, entity_columns, sequence_index and context_columns all now live in the SingleTableMetadata so that will be handled by calling it's to_dict method
Problem Description
Outside of managing transformations, the
DataProcessor
is responsible for validating constraints, making sure all the ids are unique, and converting back and forth to dicts and json.Expected behavior
filter_valid(self, data)
: Filter the data using the constraints and return only the valid rows.SDV/sdv/metadata/table.py
Lines 726 to 740 in e5fc3f6
make_ids_unique(self, data)
: Repopulate any id fields in provided data to guarantee uniqueness.SDV/sdv/metadata/table.py
Lines 742 to 759 in e5fc3f6
to_dict
SDV/sdv/metadata/table.py
Lines 765 to 784 in e5fc3f6
SingleTableMetadata
so that will be handled by calling it'sto_dict
methodto_json
SDV/sdv/metadata/table.py
Lines 786 to 794 in e5fc3f6
from_dict
SDV/sdv/metadata/table.py
Lines 796 to 823 in e5fc3f6
SingleTableMetadata
From_json
SDV/sdv/metadata/table.py
Lines 825 to 834 in e5fc3f6
The text was updated successfully, but these errors were encountered: