EnumDefinition
Constructor:
Signature:
def __init__( self, wrapped_cls: EnumMeta, name: str, values: List[EnumValue], description: str | None, directives: Iterable[object] = (),) -> None: ...Parameters:
-
wrapped_cls:- Type
-
EnumMeta
-
name:- Type
-
str
-
values:- Type
-
List[EnumValue]
-
description:- Type
-
str | None
-
directives:- Type
-
Iterable[object] - Default
-
()
Methods:
-
copy_with
Signature:
def copy_with(self, type_var_map: Mapping[str, StrawberryType | type]) -> StrawberryType | type:...Parameters:
-
type_var_map:- Type
-
Mapping[str, StrawberryType | type]
-
Attributes:
-
wrapped_cls:- Type
-
EnumMeta
-
name:- Type
-
str
-
values:- Type
-
List[EnumValue]
-
description:- Type
-
str | None
-
directives:- Type
-
Iterable[object]
-
is_graphql_generic:- Type
-
bool