StrawberryDirective
Constructor:
Signature:
def __init__( self, python_name: str, graphql_name: str | None, resolver: StrawberryDirectiveResolver[T], locations: List[DirectiveLocation], description: str | None = None,) -> None: ...
Parameters:
-
python_name:
- Type
-
str
-
graphql_name:
- Type
-
str | None
-
resolver:
- Type
-
StrawberryDirectiveResolver[T]
-
locations:
- Type
-
List[DirectiveLocation]
-
description:
- Type
-
str | None
- Default
-
None
Attributes:
-
python_name:
- Type
-
str
-
graphql_name:
- Type
-
str | None
-
resolver:
- Type
-
StrawberryDirectiveResolver[T]
-
locations:
- Type
-
List[DirectiveLocation]
-
description:
- Type
-
str | None
-
arguments:
- Type
-
List[StrawberryArgument]