We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As a user, it would be very useful to be able to add constraints for a table programmatically to my MultiTableMetadata.
MultiTableMetadata
add_constraint
table_name
constraint_name
**kwargs
Error: Unknown table name ('userss')
>>> metadata.add_constraint( table_name='users', ...) >>> metadata.add_constraint(table_name='userss', ...) Error: Unknown table name ('userss') >>> metadata.add_constraint( table_name='users', constraint_name='Inequality', low_column_name='child_age', high_column_name='start_date') Error: An Inequality constraint is being applied to mismatched sdtypes ("child_age", "start_date"). Both columns must be either numerical or datetime.
The text was updated successfully, but these errors were encountered:
amontanez24
No branches or pull requests
Problem Description
As a user, it would be very useful to be able to add constraints for a table programmatically to my
MultiTableMetadata
.Expected behavior
add_constraint
methodadd_constraint
method for the specified tabletable_name
: string that is the name of the tableconstraint_name
: string that is the name of the constraint class**kwargs
: Any other required key word arguments for the constraint.Error: Unknown table name ('userss')
The text was updated successfully, but these errors were encountered: