awslabs / python-deequ

Python API for Deequ
Apache License 2.0
691 stars 132 forks source link

Adding code_for_constraint argument for checks #53

Closed ml6cz closed 3 years ago

ml6cz commented 3 years ago

Currently, there is only code available for deequ to take the suggested constraints from the ConstraintSuggestionRunner and run them as constrains.

I am trying to take the dictionary from the suggested constraints and process them as constraints on my dataset, but there doesn't seem to be an obvious way to do this despite being provided the code_for_constraint value s from the suggestions.

Furthermore, adding this functionality would also open up using constraints pulled from a csv file instead of needing to be defined within the python program itself.