EnumDefinition

Constructor:

Signature:

def __init__(
self,
wrapped_cls: EnumMeta,
name: str,
values: List[EnumValue],
description: str | None,
directives: Iterable[object] = (),
) -> None:
...

Parameters:

  1. wrapped_cls:

    Type
    EnumMeta
  2. name:

    Type
    str
  3. values:

    Type
    List[EnumValue]
  4. description:

    Type
    str | None
  5. directives:

    Type
    Iterable[object]
    Default
    ()

Methods:

Attributes:

  1. wrapped_cls:

    Type
    EnumMeta
  2. name:

    Type
    str
  3. values:

    Type
    List[EnumValue]
  4. description:

    Type
    str | None
  5. directives:

    Type
    Iterable[object]
  6. is_graphql_generic:

    Type
    bool