Skip to content

EnumDef

🛈 DocStrings

A string enum of the upstream schema.

Source code in src/aclientp/schema_reference.py
@dataclass(frozen=True)
class EnumDef:
    """A string enum of the upstream schema."""

    name: str
    values: frozenset[str]
    open: bool
    """Whether other strings are allowed too."""

open instance-attribute

open: bool

Whether other strings are allowed too.

:fa-brands-github: Show source on GitHub