You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In earlier graphql-core versions, we would patch print_object - and during migration to graphql-core we found that wasn't available due to package structure.
The text was updated successfully, but these errors were encountered:
Summary
graphql.utilities.__init__.py
's export ofprint_schema
function shadows the module ofgraphql.utilities.print_schema
graphql-core/src/graphql/utilities/__init__.py
Lines 28 to 31 in 0c93b84
So assume this:
Expected behavior
The module
graphql.utilities.print_schema
.Results
As of v3.3.0a3
The function
graphql.utilities.print_schema.print_schema()
the function.Discussion
https://github.com/graphql-python/graphql-core/blob/v3.3.0a3/src/graphql/utilities/print_schema.py#L32 does use a
__ALL__
, but its contents, which are typed, aren't exported.Our use case
In earlier graphql-core versions, we would patch
print_object
- and during migration to graphql-core we found that wasn't available due to package structure.The text was updated successfully, but these errors were encountered: