Skip to content

LengthConstraint

Source code in docs_src/capo_appconfigcloudextension/types/length_constraint.py
class LengthConstraint(TypedDict, closed=True):
    min: NotRequired["int"]
    """The shortest length allowed."""
    max: NotRequired["int"]
    """The longest length allowed."""
    tested: "int"
    """The value's length."""

max instance-attribute

max: NotRequired[int]

The longest length allowed.

min instance-attribute

min: NotRequired[int]

The shortest length allowed.

tested instance-attribute

tested: int

The value's length.