Skip to content

FieldConstraint

Source code in docs_src/capo_appconfigcloudextension/types/field_constraint.py
class FieldConstraint(TypedDict, closed=True):
    field: "str"
    """The member's path from the input: a.b for a nested member, a[0] for a list element, a[key] for a map value."""
    value: NotRequired["str"]
    """The value as sent. It is omitted for a missing member, a length or union failure, and a @sensitive member."""
    constraint: "capo_appconfigcloudextension.types.constraint.Constraint"
    """The constraint the value failed."""

constraint instance-attribute

constraint: Constraint

The constraint the value failed.

field instance-attribute

field: str

The member's path from the input: a.b for a nested member, a[0] for a list element, a[key] for a map value.

value instance-attribute

value: NotRequired[str]

The value as sent. It is omitted for a missing member, a length or union failure, and a @sensitive member.