-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
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
Use cases #124
Comments
+1 |
@manugarri, can you please elaborate? |
For (2): Or How would I determine 1 or more columns in aggregate are unique? |
Cerberus is only meant to validate one row against a set of rules. Not really designed for such an use case (which seems more suited for a relational database) |
ok thx |
Use Case 1 - record level validation:
Say I have 2 fields. "Amount" and "Calculation Type". Amount is always a float, however when calculation type is "Percent", Amount must be bounded from 0 to 100.
Use Case 2 - table level validation:
Say I have multiple records and after grouping certain fields, no duplication can be present.
Use case 3 - Multiple coercion functions:
I need to convert a value to string, and perform a couple of other functions before validation. Any tips here?
Appreciate your help! This is probably one of the coolest python projects I've seen in a while.
The text was updated successfully, but these errors were encountered: