ValidationEnum
¶
Source code in docs_src/capo_connect/types/validation_enum.py
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.