Skip to content

ArraySetting

Source code in docs_src/capo_cloudextensions/types/array_setting.py
class ArraySetting(TypedDict, closed=True):
    min_length: NotRequired[
        "capo_cloudextensions.types.non_negative_integer.NonNegativeInteger"
    ]
    """The fewest items the array may hold."""
    max_length: NotRequired[
        "capo_cloudextensions.types.non_negative_integer.NonNegativeInteger"
    ]
    """The most items the array may hold, between 1 and 100. Must be at least minLength."""
    item_definition: "capo_cloudextensions.types.setting_definition.SettingDefinition"
    """The definition for each element in the array."""

item_definition instance-attribute

item_definition: SettingDefinition

The definition for each element in the array.

max_length instance-attribute

max_length: NotRequired[NonNegativeInteger]

The most items the array may hold, between 1 and 100. Must be at least minLength.

min_length instance-attribute

min_length: NotRequired[NonNegativeInteger]

The fewest items the array may hold.