strawberry-graphql 0.215.2.dev1701810830__py3-none-any.whl → 0.215.3__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 +1 -1
- strawberry/http/base.py +2 -2
- strawberry/http/sync_base_view.py +1 -1
- {strawberry_graphql-0.215.2.dev1701810830.dist-info → strawberry_graphql-0.215.3.dist-info}/METADATA +1 -1
- {strawberry_graphql-0.215.2.dev1701810830.dist-info → strawberry_graphql-0.215.3.dist-info}/RECORD +8 -8
- {strawberry_graphql-0.215.2.dev1701810830.dist-info → strawberry_graphql-0.215.3.dist-info}/LICENSE +0 -0
- {strawberry_graphql-0.215.2.dev1701810830.dist-info → strawberry_graphql-0.215.3.dist-info}/WHEEL +0 -0
- {strawberry_graphql-0.215.2.dev1701810830.dist-info → strawberry_graphql-0.215.3.dist-info}/entry_points.txt +0 -0
strawberry/http/base.py
CHANGED
@@ -44,7 +44,7 @@ class BaseView(Generic[Request]):
|
|
44
44
|
def is_request_allowed(self, request: BaseRequestProtocol) -> bool:
|
45
45
|
return request.method in ("GET", "POST")
|
46
46
|
|
47
|
-
def parse_json(self, data: Union[str, bytes]) ->
|
47
|
+
def parse_json(self, data: Union[str, bytes]) -> Any:
|
48
48
|
try:
|
49
49
|
return json.loads(data)
|
50
50
|
except json.JSONDecodeError as e:
|
@@ -65,7 +65,7 @@ class BaseView(Generic[Request]):
|
|
65
65
|
variables = variables[0]
|
66
66
|
|
67
67
|
if variables:
|
68
|
-
params["variables"] =
|
68
|
+
params["variables"] = self.parse_json(variables)
|
69
69
|
|
70
70
|
return params
|
71
71
|
|
{strawberry_graphql-0.215.2.dev1701810830.dist-info → strawberry_graphql-0.215.3.dist-info}/RECORD
RENAMED
@@ -145,11 +145,11 @@ strawberry/file_uploads/utils.py,sha256=U8gk1aHjWOBa_Opyvc47h6OpYToGq1QiSnEkI2kp
|
|
145
145
|
strawberry/flask/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
146
146
|
strawberry/flask/views.py,sha256=t3G7hYqYJXsVuvkVVVjfqaQ2SlNB-uvvWQ0uBlc6iJA,5584
|
147
147
|
strawberry/http/__init__.py,sha256=t-Inc7JHEr1Tr_Afu9uAb042ujpYx-jEbe_gqCfuOlc,1403
|
148
|
-
strawberry/http/async_base_view.py,sha256=
|
149
|
-
strawberry/http/base.py,sha256=
|
148
|
+
strawberry/http/async_base_view.py,sha256=6uPO4rpkloOEKpLRDwkk-zSBm-NJZimJsLifi3uXgC4,7233
|
149
|
+
strawberry/http/base.py,sha256=MqCCCMWASEI4UKV1oqxo-MRZkDGmIT9tpBLTpVr3lC0,2366
|
150
150
|
strawberry/http/exceptions.py,sha256=4lgbMQ-UF2HHu2PczqkS1vGAcU08cEGY03FMrVvjqeA,155
|
151
151
|
strawberry/http/ides.py,sha256=f8sjynd4hCPJIaZaALRfJ2HM9_ghyymuCrBViAH2M34,822
|
152
|
-
strawberry/http/sync_base_view.py,sha256=
|
152
|
+
strawberry/http/sync_base_view.py,sha256=2f2dqSjUhimScVTFXpQ0p40hvZwopwXNGoGCMCRouUo,6937
|
153
153
|
strawberry/http/temporal_response.py,sha256=6w_Nn3CNiU54jzEQP8pwzzHhGuh7eJw7S0wIneASJT8,187
|
154
154
|
strawberry/http/types.py,sha256=5alxKekKDASeQS0RkeJYo1CG5HKTXCSfclWPtbYOaPE,348
|
155
155
|
strawberry/http/typevars.py,sha256=Kc2xRx3Jic7AruCtv3FOuv2hqeQQzcCLP1E53Nwmpts,207
|
@@ -236,8 +236,8 @@ strawberry/utils/logging.py,sha256=flS7hV0JiIOEdXcrIjda4WyIWix86cpHHFNJL8gl1y4,7
|
|
236
236
|
strawberry/utils/operation.py,sha256=Um-tBCPl3_bVFN2Ph7o1mnrxfxBes4HFCj6T0x4kZxE,1135
|
237
237
|
strawberry/utils/str_converters.py,sha256=avIgPVLg98vZH9mA2lhzVdyyjqzLsK2NdBw9mJQ02Xk,813
|
238
238
|
strawberry/utils/typing.py,sha256=xkRDUaSJH669jtmdUvWIqrj66Vx4tsbrXSuuYy0FPxU,13490
|
239
|
-
strawberry_graphql-0.215.
|
240
|
-
strawberry_graphql-0.215.
|
241
|
-
strawberry_graphql-0.215.
|
242
|
-
strawberry_graphql-0.215.
|
243
|
-
strawberry_graphql-0.215.
|
239
|
+
strawberry_graphql-0.215.3.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
|
240
|
+
strawberry_graphql-0.215.3.dist-info/METADATA,sha256=DhjUd0K3zjcpRaB5OCX8LEC6HBpcHN5nKVXxqdQ4TaU,7641
|
241
|
+
strawberry_graphql-0.215.3.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
242
|
+
strawberry_graphql-0.215.3.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
|
243
|
+
strawberry_graphql-0.215.3.dist-info/RECORD,,
|
{strawberry_graphql-0.215.2.dev1701810830.dist-info → strawberry_graphql-0.215.3.dist-info}/LICENSE
RENAMED
File without changes
|
{strawberry_graphql-0.215.2.dev1701810830.dist-info → strawberry_graphql-0.215.3.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|