GitHub

ChoiceType

API reference for ChoiceType.

A CLI parameter's value type that is one of a fixed set of strings.

Attributes

AttributeTypeDescription
valuestuple[str, ...]

Functions

__init__

__init__(values) -> None
ParameterTypeDescription
valuestuple[str, ...]