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 a6c15f3 commit 0c93b84Copy full SHA for 0c93b84
src/graphql/type/definition.py
@@ -1620,7 +1620,7 @@ def is_composite_type(type_: Any) -> TypeGuard[GraphQLCompositeType]:
1620
)
1621
1622
1623
-def assert_composite_type(type_: Any) -> GraphQLType:
+def assert_composite_type(type_: Any) -> GraphQLCompositeType:
1624
if not is_composite_type(type_):
1625
raise TypeError(f"Expected {type_} to be a GraphQL composite type.")
1626
return type_
0 commit comments