Skip to content

Commit 2a45b56

Browse files
committed
Remove deprecated get_operation_root_type
Replicates graphql/graphql-js@0c315b6
1 parent dcda281 commit 2a45b56

File tree

5 files changed

+0
-172
lines changed

5 files changed

+0
-172
lines changed

docs/modules/utilities.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ Get the target Operation from a Document:
1818

1919
.. autofunction:: get_operation_ast
2020

21-
Get the Type for the target Operation AST:
22-
23-
.. autofunction:: get_operation_root_type
24-
2521
Convert a GraphQLSchema to an IntrospectionQuery:
2622

2723
.. autofunction:: introspection_from_schema

src/graphql/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@
167167
IntrospectionQuery,
168168
# Get the target Operation from a Document.
169169
get_operation_ast,
170-
# Get the Type for the target Operation AST.
171-
get_operation_root_type,
172170
# Convert a GraphQLSchema to an IntrospectionQuery.
173171
introspection_from_schema,
174172
# Build a GraphQLSchema from an introspection result.
@@ -744,7 +742,6 @@
744742
"get_introspection_query",
745743
"IntrospectionQuery",
746744
"get_operation_ast",
747-
"get_operation_root_type",
748745
"introspection_from_schema",
749746
"build_client_schema",
750747
"build_ast_schema",

src/graphql/utilities/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
# Get the target Operation from a Document.
1111
from .get_operation_ast import get_operation_ast
1212

13-
# Get the Type for the target Operation AST.
14-
from .get_operation_root_type import get_operation_root_type
15-
1613
# Convert a GraphQLSchema to an IntrospectionQuery.
1714
from .introspection_from_schema import introspection_from_schema
1815

@@ -106,7 +103,6 @@
106103
"find_dangerous_changes",
107104
"get_introspection_query",
108105
"get_operation_ast",
109-
"get_operation_root_type",
110106
"is_equal_type",
111107
"is_type_sub_type_of",
112108
"is_valid_name_error",

src/graphql/utilities/get_operation_root_type.py

Lines changed: 0 additions & 47 deletions
This file was deleted.

tests/utilities/test_get_operation_root_type.py

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)