FieldConstraint
¶
Source code in docs_src/capo_cloudextensions/types/field_constraint.py
constraint
instance-attribute
¶
constraint: NotRequired[str]
The reason why the field's value is invalid.
constraint_values_from
instance-attribute
¶
constraint_values_from: NotRequired[ConstraintValueSources]
Where each of the constraint's values came from, when any was read from another field. Each entry is the path of that field, or a {label} such as {account.maxExtensionSize} for a value the caller doesn't set.