strawberry-graphql 0.192.0__py3-none-any.whl → 0.192.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -188,10 +188,12 @@ class GraphQLRouter(
188
188
  "description": "The GraphiQL integrated development environment.",
189
189
  },
190
190
  404: {
191
- "description": "Not found if GraphiQL is not enabled.",
191
+ "description": (
192
+ "Not found if GraphiQL or query via GET are not enabled."
193
+ )
192
194
  },
193
195
  },
194
- include_in_schema=graphiql,
196
+ include_in_schema=graphiql or allow_queries_via_get,
195
197
  )
196
198
  async def handle_http_get( # pyright: ignore
197
199
  request: Request,
@@ -277,8 +279,7 @@ class GraphQLRouter(
277
279
  )
278
280
 
279
281
  def render_graphiql(self, request: Request) -> HTMLResponse:
280
- html = get_graphiql_html()
281
- return HTMLResponse(html)
282
+ return HTMLResponse(get_graphiql_html())
282
283
 
283
284
  @staticmethod
284
285
  def _merge_responses(response: Response, actual_response: Response) -> Response:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: strawberry-graphql
3
- Version: 0.192.0
3
+ Version: 0.192.1
4
4
  Summary: A library for creating GraphQL APIs
5
5
  Home-page: https://strawberry.rocks/
6
6
  License: MIT
@@ -120,7 +120,7 @@ strawberry/fastapi/context.py,sha256=hxLoihS9TM16iyUPiAGQf-0i4wv975CJYHHI6EwOewA
120
120
  strawberry/fastapi/handlers/__init__.py,sha256=TziBHyibYBOGiidjpCkjNThYbVY7K_nt0hnRLVHVh3I,241
121
121
  strawberry/fastapi/handlers/graphql_transport_ws_handler.py,sha256=k8BhP1xQAFc1GnbQoFhi8KQSWwY1x-ngR9qIDVJW_ic,549
122
122
  strawberry/fastapi/handlers/graphql_ws_handler.py,sha256=U84lpd7Lxl2bEnFr9QroswmEaMO5ipLCZTeYRAaZH-g,504
123
- strawberry/fastapi/router.py,sha256=l7V5fivGvchqy1S3lkc6phtX4F-X8xjmJG1KYmCN5mA,11400
123
+ strawberry/fastapi/router.py,sha256=ZcFU8wpkVsC3wyEDMNnJ5n6MhD7rpt-CYAzmCfWpEmE,11470
124
124
  strawberry/federation/__init__.py,sha256=FeUxLiBVuk9TKBmJJi51SeUaI8c80rS8hbl9No-hjII,535
125
125
  strawberry/federation/argument.py,sha256=5qyJYlQGEZd6iXWseQ7dnnejCYj5HyglfK10jOCIJBg,802
126
126
  strawberry/federation/enum.py,sha256=KpcQfL_efoaNBbb2gl-CYO5PtyVsuyz1LcluTMuRcks,2185
@@ -230,8 +230,8 @@ strawberry/utils/logging.py,sha256=pz1pRJtx5xX2ejGKNN-fG8zPA4SJjnq1HK9xaQpjd4s,1
230
230
  strawberry/utils/operation.py,sha256=Um-tBCPl3_bVFN2Ph7o1mnrxfxBes4HFCj6T0x4kZxE,1135
231
231
  strawberry/utils/str_converters.py,sha256=VdOnzaxhwJnmQl1Lon0VOjl72uXhM8tLfGxoGwn3arI,657
232
232
  strawberry/utils/typing.py,sha256=_PvVDZJrT_iciDvIEwwh4knAog6stKe9sLpxqy00GmI,13182
233
- strawberry_graphql-0.192.0.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
234
- strawberry_graphql-0.192.0.dist-info/METADATA,sha256=TKsmc-fmNtgJUr3wlw1YWpqHaTmswgYJFYPtyi0Bshs,7634
235
- strawberry_graphql-0.192.0.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
236
- strawberry_graphql-0.192.0.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
237
- strawberry_graphql-0.192.0.dist-info/RECORD,,
233
+ strawberry_graphql-0.192.1.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
234
+ strawberry_graphql-0.192.1.dist-info/METADATA,sha256=N__Rhm402LA8X0-wbiQ_OlR-VUs9ENuyEq3O_hIAuMc,7634
235
+ strawberry_graphql-0.192.1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
236
+ strawberry_graphql-0.192.1.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
237
+ strawberry_graphql-0.192.1.dist-info/RECORD,,