Skip to content

ValidationEnum

Source code in docs_src/capo_connect/types/validation_enum.py
class ValidationEnum(TypedDict, closed=True):
    strict: "capo_connect.types.boolean.Boolean"
    """<p>Boolean that defaults to false. When true, only values specified in the enum list are allowed. When false, custom values beyond the enumerated list are permitted.</p>"""
    values: NotRequired[
        "capo_connect.types.validation_enum_values.ValidationEnumValues"
    ]
    """<p>A list of predefined values that are allowed for this attribute. These values are always permitted regardless of the Strict setting.</p>"""

strict instance-attribute

strict: Boolean

Boolean that defaults to false. When true, only values specified in the enum list are allowed. When false, custom values beyond the enumerated list are permitted.

values instance-attribute

values: NotRequired[ValidationEnumValues]

A list of predefined values that are allowed for this attribute. These values are always permitted regardless of the Strict setting.