Title: `graphql.utilities.print_schema` module contents are hidden behind `utilities` package · Issue #209 · graphql-python/graphql-core · GitHub
Open Graph Title: `graphql.utilities.print_schema` module contents are hidden behind `utilities` package · Issue #209 · graphql-python/graphql-core
X Title: `graphql.utilities.print_schema` module contents are hidden behind `utilities` package · Issue #209 · graphql-python/graphql-core
Description: Summary graphql.utilities.__init__.py's export of print_schema function shadows the module of graphql.utilities.print_schema graphql-core/src/graphql/utilities/__init__.py Lines 28 to 31 in 0c93b84 # Print a GraphQLSchema to GraphQL Sche...
Open Graph Description: Summary graphql.utilities.__init__.py's export of print_schema function shadows the module of graphql.utilities.print_schema graphql-core/src/graphql/utilities/__init__.py Lines 28 to 31 in 0c93b84...
X Description: Summary graphql.utilities.__init__.py's export of print_schema function shadows the module of graphql.utilities.print_schema graphql-core/src/graphql/utilities/__init__.py Lines 28 to 31 in 0c9...
Opengraph URL: https://github.com/graphql-python/graphql-core/issues/209
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`graphql.utilities.print_schema` module contents are hidden behind `utilities` package","articleBody":"# Summary\r\n\r\n`graphql.utilities.__init__.py`'s [export of `print_schema`](https://github.com/graphql-python/graphql-core/blob/v3.3.0a3/src/graphql/utilities/__init__.py#L28-L31) function shadows the module of `graphql.utilities.print_schema`\r\n\r\nhttps://github.com/graphql-python/graphql-core/blob/0c93b8452eed38d4f800c7e71cf6f3f3758cd1c6/src/graphql/utilities/__init__.py#L28-L31\r\n\r\nSo assume this:\r\n\r\n```python\r\nfrom graphql.utilities import print_schema\r\n```\r\n\r\n## Expected behavior\r\n\r\nThe module [`graphql.utilities.print_schema`](https://github.com/graphql-python/graphql-core/blob/v3.3.0a3/src/graphql/utilities/print_schema.py).\r\n\r\n## Results \r\n\r\n_As of v3.3.0a3_\r\n\r\nThe function [`graphql.utilities.print_schema.print_schema()`](https://github.com/graphql-python/graphql-core/blob/v3.3.0a3/src/graphql/utilities/print_schema.py#L35-L38) the function.\r\n\r\n## Discussion\r\n\r\nhttps://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.\r\n\r\n### Our use case\r\n\r\nIn 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.","author":{"url":"https://github.com/tony","@type":"Person","name":"tony"},"datePublished":"2023-10-15T19:28:21Z","url":"https://github.com/graphql-python/graphql-core/issues/209"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7072b609-da4c-9d14-4b67-c0428d2c713b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB42:30CC09:11ED862:17E42F0:6AFFC790 |
| html-safe-nonce | d0fba4415aca93edafa0bc70287ca22d350f48e31d7e00ac7da7cc50c75a8313 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjQyOjMwQ0MwOToxMUVEODYyOjE3RTQyRjA6NkFGRkM3OTAiLCJ2aXNpdG9yX2lkIjoiNTA2NTM0ODIyODY5NDY1NjkxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 47c313c1b82f0b5f9ecf0b0505e392a20358eb92bee79948c54700036074920a |
| hovercard-subject-tag | issue:1944021788 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/graphql-python/graphql-core/209/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac20be9738370c13ee14fff808afb54ca0c2659d693a9b86b39ae6caa9b6c581/graphql-python/graphql-core/issues/209 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac20be9738370c13ee14fff808afb54ca0c2659d693a9b86b39ae6caa9b6c581/graphql-python/graphql-core/issues/209 |
| og:image:alt | Summary graphql.utilities.__init__.py's export of print_schema function shadows the module of graphql.utilities.print_schema graphql-core/src/graphql/utilities/__init__.py Lines 28 to 31 in 0c93b84... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tony |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1e805b832df235bb21305db712c3b6432920019dfc12cb25b9cb8d3b0c9403cf |
| turbo-cache-control | no-preview |
| go-import | github.com/graphql-python/graphql-core git https://github.com/graphql-python/graphql-core.git |
| octolytics-dimension-user_id | 15002022 |
| octolytics-dimension-user_login | graphql-python |
| octolytics-dimension-repository_id | 143207933 |
| octolytics-dimension-repository_nwo | graphql-python/graphql-core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143207933 |
| octolytics-dimension-repository_network_root_nwo | graphql-python/graphql-core |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8fa4a54e6871c7908eda1c246ad5972982c0b59d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width