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
Currently, using invalid conditions when using constraints produces unreadable errors. Instead, it would make more sense to validate the inputs and produce more meaningful error messages.
For example, if we use the UniqueCombination constraint and condition on the two constraint columns being different (which is an invalid condition) it produces a ValueError: No objects to concatenate, which doesn't provide much feedback about where the error is.
Currently, using invalid conditions when using constraints produces unreadable errors. Instead, it would make more sense to validate the inputs and produce more meaningful error messages.
For example, if we use the
UniqueCombination
constraint and condition on the two constraint columns being different (which is an invalid condition) it produces aValueError: No objects to concatenate
, which doesn't provide much feedback about where the error is.The text was updated successfully, but these errors were encountered: