strawberry-graphql 0.275.5__py3-none-any.whl → 0.275.6__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 +8 -1
- strawberry/http/sync_base_view.py +8 -1
- {strawberry_graphql-0.275.5.dist-info → strawberry_graphql-0.275.6.dist-info}/METADATA +1 -1
- {strawberry_graphql-0.275.5.dist-info → strawberry_graphql-0.275.6.dist-info}/RECORD +7 -7
- {strawberry_graphql-0.275.5.dist-info → strawberry_graphql-0.275.6.dist-info}/LICENSE +0 -0
- {strawberry_graphql-0.275.5.dist-info → strawberry_graphql-0.275.6.dist-info}/WHEEL +0 -0
- {strawberry_graphql-0.275.5.dist-info → strawberry_graphql-0.275.6.dist-info}/entry_points.txt +0 -0
@@ -541,11 +541,18 @@ class AsyncBaseHTTPView(
|
|
541
541
|
"The GraphQL operation's `variables` must be an object or null, if provided.",
|
542
542
|
)
|
543
543
|
|
544
|
+
extensions = data.get("extensions")
|
545
|
+
if not isinstance(extensions, (dict, type(None))):
|
546
|
+
raise HTTPException(
|
547
|
+
400,
|
548
|
+
"The GraphQL operation's `extensions` must be an object or null, if provided.",
|
549
|
+
)
|
550
|
+
|
544
551
|
return GraphQLRequestData(
|
545
552
|
query=query,
|
546
553
|
variables=variables,
|
547
554
|
operation_name=data.get("operationName"),
|
548
|
-
extensions=
|
555
|
+
extensions=extensions,
|
549
556
|
protocol=protocol,
|
550
557
|
)
|
551
558
|
|
@@ -166,11 +166,18 @@ class SyncBaseHTTPView(
|
|
166
166
|
"The GraphQL operation's `variables` must be an object or null, if provided.",
|
167
167
|
)
|
168
168
|
|
169
|
+
extensions = data.get("extensions")
|
170
|
+
if not isinstance(extensions, (dict, type(None))):
|
171
|
+
raise HTTPException(
|
172
|
+
400,
|
173
|
+
"The GraphQL operation's `extensions` must be an object or null, if provided.",
|
174
|
+
)
|
175
|
+
|
169
176
|
return GraphQLRequestData(
|
170
177
|
query=query,
|
171
178
|
variables=variables,
|
172
179
|
operation_name=data.get("operationName"),
|
173
|
-
extensions=
|
180
|
+
extensions=extensions,
|
174
181
|
)
|
175
182
|
|
176
183
|
def _handle_errors(
|
@@ -135,12 +135,12 @@ strawberry/file_uploads/utils.py,sha256=-c6TbqUI-Dkb96hWCrZabh6TL2OabBuQNkCarOqg
|
|
135
135
|
strawberry/flask/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
136
136
|
strawberry/flask/views.py,sha256=MCvAsNgTZLU8RvTYKWfnLU2w7Wv1ZZpxW9W3TyTZuPY,6355
|
137
137
|
strawberry/http/__init__.py,sha256=ytAirKk7K7D5knY21tpCGeZ-sCPgwMsijL5AxmOy-94,1163
|
138
|
-
strawberry/http/async_base_view.py,sha256=
|
138
|
+
strawberry/http/async_base_view.py,sha256=N72Ym9b1z8VbzrgrMDehoKSLFUdObK4fJ1aRZRjZQ1U,20806
|
139
139
|
strawberry/http/base.py,sha256=MiX0-RqOkhRvlfpmuvgTHp4tygbUmG8fnLc0uCrOllU,2550
|
140
140
|
strawberry/http/exceptions.py,sha256=9E2dreS1crRoJVUEPuHyx23NcDELDHNzkAOa-rGv-8I,348
|
141
141
|
strawberry/http/ides.py,sha256=WjU0nsMDgr3Bd1ebWkUEkO2d1hk0dI16mLqXyCHqklA,613
|
142
142
|
strawberry/http/parse_content_type.py,sha256=CYHO8F9b9DP1gJ1xxPjc9L2GkBwsyC1O_GCEp1QOuG0,381
|
143
|
-
strawberry/http/sync_base_view.py,sha256=
|
143
|
+
strawberry/http/sync_base_view.py,sha256=jQwNn_No3zFMkUO0HO7w1B7YFuwZiArH3SS8HJtoDLI,8138
|
144
144
|
strawberry/http/temporal_response.py,sha256=HTt65g-YxqlPGxjqvH5bzGoU1b3CctVR-9cmCRo5dUo,196
|
145
145
|
strawberry/http/types.py,sha256=H0wGOdCO-5tNKZM_6cAtNRwZAjoEXnAC5N0Q7b70AtU,398
|
146
146
|
strawberry/http/typevars.py,sha256=Uu6NkKe3h7o29ZWwldq6sJy4ioSSeXODTCDRvY2hUpE,489
|
@@ -234,8 +234,8 @@ strawberry/utils/logging.py,sha256=U1cseHGquN09YFhFmRkiphfASKCyK0HUZREImPgVb0c,7
|
|
234
234
|
strawberry/utils/operation.py,sha256=ZgVOw3K2jQuLjNOYUHauF7itJD0QDNoPw9PBi0IYf6k,1234
|
235
235
|
strawberry/utils/str_converters.py,sha256=-eH1Cl16IO_wrBlsGM-km4IY0IKsjhjnSNGRGOwQjVM,897
|
236
236
|
strawberry/utils/typing.py,sha256=SDvX-Du-9HAV3-XXjqi7Q5f5qPDDFd_gASIITiwBQT4,14073
|
237
|
-
strawberry_graphql-0.275.
|
238
|
-
strawberry_graphql-0.275.
|
239
|
-
strawberry_graphql-0.275.
|
240
|
-
strawberry_graphql-0.275.
|
241
|
-
strawberry_graphql-0.275.
|
237
|
+
strawberry_graphql-0.275.6.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
|
238
|
+
strawberry_graphql-0.275.6.dist-info/METADATA,sha256=1efBHVDTJ9xMI4EVY4OAYqrQh2Kyc_MpncWdN6l18nw,7393
|
239
|
+
strawberry_graphql-0.275.6.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
240
|
+
strawberry_graphql-0.275.6.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
|
241
|
+
strawberry_graphql-0.275.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{strawberry_graphql-0.275.5.dist-info → strawberry_graphql-0.275.6.dist-info}/entry_points.txt
RENAMED
File without changes
|