StrawberrySchemaDirective
Constructor:
Signature:
def __init__( self, python_name: str, graphql_name: str | None, locations: List[Location], fields: List[StrawberryField], description: str | None = None, repeatable: bool = False, print_definition: bool = True, origin: Type | None = None,) -> None: ...Parameters:
-
python_name:- Type
-
str
-
graphql_name:- Type
-
str | None
-
locations:- Type
-
List[Location]
-
fields:- Type
-
List[StrawberryField]
-
description:- Type
-
str | None - Default
-
None
-
repeatable:- Type
-
bool - Default
-
False
-
print_definition:- Type
-
bool - Default
-
True
-
origin:- Type
-
Type | None - Default
-
None
Attributes:
-
python_name:- Type
-
str
-
graphql_name:- Type
-
str | None
-
locations:- Type
-
List[Location]
-
fields:- Type
-
List[StrawberryField]
-
description:- Type
-
str | None
-
repeatable:- Type
-
bool
-
print_definition:- Type
-
bool
-
origin:- Type
-
Type | None