StrawberryResolver
Constructor:
Signature:
Parameters:
-
func:
- Type
-
Callable[..., T] | staticmethod | classmethod
-
description:
- Type
-
str | None
- Default
-
None
-
type_override:
- Type
-
StrawberryType | type | None
- Default
-
None
Methods:
-
copy_with
Signature:
Parameters:
-
type_var_map:
- Type
-
Mapping[str, StrawberryType | builtins.type]
-
Attributes:
-
RESERVED_PARAMSPEC:
- Type
-
Tuple[ReservedParameterSpecification, ...]
-
wrapped_func:
-
signature:
- Type
-
inspect.Signature
-
strawberry_annotations:
- Type
-
Dict[inspect.Parameter, StrawberryAnnotation | None]
-
reserved_parameters:
Mapping of reserved parameter specification to parameter.
- Type
-
Dict[ReservedParameterSpecification, inspect.Parameter | None]
-
arguments:
Resolver arguments exposed in the GraphQL Schema.
- Type
-
List[StrawberryArgument]
-
info_parameter:
- Type
-
inspect.Parameter | None
-
root_parameter:
- Type
-
inspect.Parameter | None
-
self_parameter:
- Type
-
inspect.Parameter | None
-
parent_parameter:
- Type
-
inspect.Parameter | None
-
name:
- Type
-
str
-
annotations:
Annotations for the resolver.
Does not include special args defined in
RESERVED_PARAMSPEC
(e.g. self, root, info)- Type
-
Dict[str, object]
-
type_annotation:
- Type
-
StrawberryAnnotation | None
-
type:
- Type
-
StrawberryType | type | None
-
is_graphql_generic:
- Type
-
bool
-
is_async:
- Type
-
bool