Skip to content
  • Sponsor
  • Notifications You must be signed in to change notification settings
  • Fork 139

Commit dae8e8f

Browse files
authoredFeb 17, 2025··
Fix IntrospectionQuery type definition (#234)
1 parent 44334f3 commit dae8e8f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed
 

‎src/graphql/utilities/get_introspection_query.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ class IntrospectionSchema(MaybeWithDescription):
302302
directives: list[IntrospectionDirective]
303303

304304

305-
class IntrospectionQuery(TypedDict):
306-
"""The root typed dictionary for schema introspections."""
307-
308-
__schema: IntrospectionSchema
305+
# The root typed dictionary for schema introspections.
306+
IntrospectionQuery = TypedDict( # noqa: UP013
307+
"IntrospectionQuery",
308+
{"__schema": IntrospectionSchema},
309+
)

0 commit comments

Comments
 (0)
Please sign in to comment.