We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e256148 commit ae97307Copy full SHA for ae97307
src/graphql/type/definition.py
@@ -554,8 +554,9 @@ def to_kwargs(self) -> GraphQLFieldKwargs:
554
def __copy__(self) -> GraphQLField: # pragma: no cover
555
return self.__class__(**self.to_kwargs())
556
557
+TContext = TypeVar("TContext")
558
-class GraphQLResolveInfo(NamedTuple):
559
+class GraphQLResolveInfo(Generic[TContext], NamedTuple):
560
"""Collection of information passed to the resolvers.
561
562
This is always passed as the first argument to the resolvers.
0 commit comments