Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dae8e8f

Browse files
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

Lines changed: 5 additions & 4 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /