schema_directive

Signature:

def schema_directive(
locations: List[Location],
description: str | None = None,
name: str | None = None,
repeatable: bool = False,
print_definition: bool = True,
) -> Callable[..., T]:
...

Parameters:

  1. locations:

    Type
    List[Location]
  2. description:

    Type
    str | None
    Default
    None
  3. name:

    Type
    str | None
    Default
    None
  4. repeatable:

    Type
    bool
    Default
    False
  5. print_definition:

    Type
    bool
    Default
    True