Enum#
- class ctapipe.core.traits.Enum(values: Sequence[G] | None, default_value: G | Sentinel | None = traitlets.Undefined, allow_none: bool = False, read_only: bool | None = None, help: str | None = None, config: Any | None = None, **kwargs: Any)#
 Bases:
TraitType[G,G]An enum whose value must be in a given sequence.
Methods Summary
argcompleter(**kwargs)Completion hints for argcomplete
from_string(s)Get a value from a config string
info()info_rst()subclass_init(cls)validate(obj, value)Methods Documentation