Skip to content

Commit

Permalink
Fix IntrospectionQuery type definition (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Feb 17, 2025
1 parent 44334f3 commit dae8e8f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/graphql/utilities/get_introspection_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ class IntrospectionSchema(MaybeWithDescription):
directives: list[IntrospectionDirective]


class IntrospectionQuery(TypedDict):
"""The root typed dictionary for schema introspections."""

__schema: IntrospectionSchema
# The root typed dictionary for schema introspections.
IntrospectionQuery = TypedDict( # noqa: UP013
"IntrospectionQuery",
{"__schema": IntrospectionSchema},
)

0 comments on commit dae8e8f

Please sign in to comment.