strawberry.federation.enum_value

Signature:

def enum_value(
value: Any,
deprecation_reason: str | None = None,
directives: Iterable[object] = (),
inaccessible: bool = False,
tags: Iterable[str] = (),
) -> EnumValueDefinition:
...

Parameters:

  1. value:

    Type
    Any
  2. deprecation_reason:

    Type
    str | None
    Default
    None
  3. directives:

    Type
    Iterable[object]
    Default
    ()
  4. inaccessible:

    Type
    bool
    Default
    False
  5. tags:

    Type
    Iterable[str]
    Default
    ()