strawberry-graphql 0.225.0__py3-none-any.whl → 0.225.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.
- strawberry/http/async_base_view.py +3 -3
- strawberry/http/sync_base_view.py +3 -3
- {strawberry_graphql-0.225.0.dist-info → strawberry_graphql-0.225.1.dist-info}/METADATA +1 -1
- {strawberry_graphql-0.225.0.dist-info → strawberry_graphql-0.225.1.dist-info}/RECORD +7 -7
- {strawberry_graphql-0.225.0.dist-info → strawberry_graphql-0.225.1.dist-info}/LICENSE +0 -0
- {strawberry_graphql-0.225.0.dist-info → strawberry_graphql-0.225.1.dist-info}/WHEEL +0 -0
- {strawberry_graphql-0.225.0.dist-info → strawberry_graphql-0.225.1.dist-info}/entry_points.txt +0 -0
@@ -206,12 +206,12 @@ class AsyncBaseHTTPView(
|
|
206
206
|
) -> GraphQLRequestData:
|
207
207
|
content_type = request.content_type or ""
|
208
208
|
|
209
|
-
if "
|
209
|
+
if request.method == "GET":
|
210
|
+
data = self.parse_query_params(request.query_params)
|
211
|
+
elif "application/json" in content_type:
|
210
212
|
data = self.parse_json(await request.get_body())
|
211
213
|
elif content_type.startswith("multipart/form-data"):
|
212
214
|
data = await self.parse_multipart(request)
|
213
|
-
elif request.method == "GET":
|
214
|
-
data = self.parse_query_params(request.query_params)
|
215
215
|
else:
|
216
216
|
raise HTTPException(400, "Unsupported content type")
|
217
217
|
|
@@ -146,12 +146,12 @@ class SyncBaseHTTPView(
|
|
146
146
|
def parse_http_body(self, request: SyncHTTPRequestAdapter) -> GraphQLRequestData:
|
147
147
|
content_type = request.content_type or ""
|
148
148
|
|
149
|
-
if "
|
149
|
+
if request.method == "GET":
|
150
|
+
data = self.parse_query_params(request.query_params)
|
151
|
+
elif "application/json" in content_type:
|
150
152
|
data = self.parse_json(request.body)
|
151
153
|
elif content_type.startswith("multipart/form-data"):
|
152
154
|
data = self.parse_multipart(request)
|
153
|
-
elif request.method == "GET":
|
154
|
-
data = self.parse_query_params(request.query_params)
|
155
155
|
else:
|
156
156
|
raise HTTPException(400, "Unsupported content type")
|
157
157
|
|
@@ -146,11 +146,11 @@ strawberry/file_uploads/utils.py,sha256=U8gk1aHjWOBa_Opyvc47h6OpYToGq1QiSnEkI2kp
|
|
146
146
|
strawberry/flask/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
147
147
|
strawberry/flask/views.py,sha256=p4wuK_oY12bR7BC_Yntr0_Gee8sMohEdeF5aH-Yb-20,5608
|
148
148
|
strawberry/http/__init__.py,sha256=t-Inc7JHEr1Tr_Afu9uAb042ujpYx-jEbe_gqCfuOlc,1403
|
149
|
-
strawberry/http/async_base_view.py,sha256=
|
149
|
+
strawberry/http/async_base_view.py,sha256=eBrtWkIgapnwmzjssyrh4yu_1USvDMTjR9AVr563dk8,7233
|
150
150
|
strawberry/http/base.py,sha256=MqCCCMWASEI4UKV1oqxo-MRZkDGmIT9tpBLTpVr3lC0,2366
|
151
151
|
strawberry/http/exceptions.py,sha256=G1e86msTPQjl9bkLkX68SRrrdOn0VlP_ZdTetPLkX2E,163
|
152
152
|
strawberry/http/ides.py,sha256=f8sjynd4hCPJIaZaALRfJ2HM9_ghyymuCrBViAH2M34,822
|
153
|
-
strawberry/http/sync_base_view.py,sha256=
|
153
|
+
strawberry/http/sync_base_view.py,sha256=fedrXENW3vteRdtO4qkumNRbz-YVysf97riWKpAoR5s,6937
|
154
154
|
strawberry/http/temporal_response.py,sha256=6w_Nn3CNiU54jzEQP8pwzzHhGuh7eJw7S0wIneASJT8,187
|
155
155
|
strawberry/http/types.py,sha256=5alxKekKDASeQS0RkeJYo1CG5HKTXCSfclWPtbYOaPE,348
|
156
156
|
strawberry/http/typevars.py,sha256=Kc2xRx3Jic7AruCtv3FOuv2hqeQQzcCLP1E53Nwmpts,207
|
@@ -241,8 +241,8 @@ strawberry/utils/logging.py,sha256=flS7hV0JiIOEdXcrIjda4WyIWix86cpHHFNJL8gl1y4,7
|
|
241
241
|
strawberry/utils/operation.py,sha256=Um-tBCPl3_bVFN2Ph7o1mnrxfxBes4HFCj6T0x4kZxE,1135
|
242
242
|
strawberry/utils/str_converters.py,sha256=avIgPVLg98vZH9mA2lhzVdyyjqzLsK2NdBw9mJQ02Xk,813
|
243
243
|
strawberry/utils/typing.py,sha256=Qxz1LwyVsNGV7LQW1dFsaUbsswj5LHBOdKLMom5eyEA,13491
|
244
|
-
strawberry_graphql-0.225.
|
245
|
-
strawberry_graphql-0.225.
|
246
|
-
strawberry_graphql-0.225.
|
247
|
-
strawberry_graphql-0.225.
|
248
|
-
strawberry_graphql-0.225.
|
244
|
+
strawberry_graphql-0.225.1.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
|
245
|
+
strawberry_graphql-0.225.1.dist-info/METADATA,sha256=Nu3tLVwHoZOo3r5XIoRHS6e5r7ffPh2fMBBjFjSgwxk,7740
|
246
|
+
strawberry_graphql-0.225.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
247
|
+
strawberry_graphql-0.225.1.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
|
248
|
+
strawberry_graphql-0.225.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{strawberry_graphql-0.225.0.dist-info → strawberry_graphql-0.225.1.dist-info}/entry_points.txt
RENAMED
File without changes
|