strawberry-graphql 0.260.0__py3-none-any.whl → 0.260.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/schema/schema.py +5 -6
- {strawberry_graphql-0.260.0.dist-info → strawberry_graphql-0.260.1.dist-info}/METADATA +1 -1
- {strawberry_graphql-0.260.0.dist-info → strawberry_graphql-0.260.1.dist-info}/RECORD +6 -6
- {strawberry_graphql-0.260.0.dist-info → strawberry_graphql-0.260.1.dist-info}/LICENSE +0 -0
- {strawberry_graphql-0.260.0.dist-info → strawberry_graphql-0.260.1.dist-info}/WHEEL +0 -0
- {strawberry_graphql-0.260.0.dist-info → strawberry_graphql-0.260.1.dist-info}/entry_points.txt +0 -0
strawberry/schema/schema.py
CHANGED
@@ -297,13 +297,12 @@ class Schema(BaseSchema):
|
|
297
297
|
raise ValueError(f"Invalid Schema. Errors:\n\n{formatted_errors}")
|
298
298
|
|
299
299
|
def get_extensions(self, sync: bool = False) -> list[SchemaExtension]:
|
300
|
-
extensions = []
|
301
|
-
if self.directives:
|
302
|
-
extensions = [
|
303
|
-
*self.extensions,
|
304
|
-
DirectivesExtensionSync if sync else DirectivesExtension,
|
305
|
-
]
|
300
|
+
extensions: list[type[SchemaExtension] | SchemaExtension] = []
|
306
301
|
extensions.extend(self.extensions)
|
302
|
+
if self.directives:
|
303
|
+
extensions.extend(
|
304
|
+
[DirectivesExtensionSync if sync else DirectivesExtension]
|
305
|
+
)
|
307
306
|
return [
|
308
307
|
ext if isinstance(ext, SchemaExtension) else ext(execution_context=None)
|
309
308
|
for ext in extensions
|
@@ -167,7 +167,7 @@ strawberry/schema/compat.py,sha256=9qJ0lhYJeaN43ayFgVz708ZMvedBhofiTSw9kpFqmjU,1
|
|
167
167
|
strawberry/schema/config.py,sha256=6BpCbNNCuekGgiKEPt2mliMqLH_wIjJmSW0tLbnJwk4,924
|
168
168
|
strawberry/schema/exceptions.py,sha256=rqVNb_oYrKM0dHPgvAemqCG6Um282LPPu4zwQ5cZqs4,584
|
169
169
|
strawberry/schema/name_converter.py,sha256=1rrpch-wBidlWfZ7hVouvIIhJpdxWfB5tWnO6PqYug8,6544
|
170
|
-
strawberry/schema/schema.py,sha256=
|
170
|
+
strawberry/schema/schema.py,sha256=6N116Bs9Rbs_2nSQ_fcxPGAWH1AmVtg4xRMSGR4Mm4s,35449
|
171
171
|
strawberry/schema/schema_converter.py,sha256=-_QZCcmHWIEjRPqEChtPMPbFtgz6YmLn8V6KXvZJMOk,37192
|
172
172
|
strawberry/schema/types/__init__.py,sha256=oHO3COWhL3L1KLYCJNY1XFf5xt2GGtHiMC-UaYbFfnA,68
|
173
173
|
strawberry/schema/types/base_scalars.py,sha256=JRUq0WjEkR9dFewstZnqnZKp0uOEipo4UXNF5dzRf4M,1971
|
@@ -228,8 +228,8 @@ strawberry/utils/logging.py,sha256=U1cseHGquN09YFhFmRkiphfASKCyK0HUZREImPgVb0c,7
|
|
228
228
|
strawberry/utils/operation.py,sha256=SSXxN-vMqdHO6W2OZtip-1z7y4_A-eTVFdhDvhKeLCk,1193
|
229
229
|
strawberry/utils/str_converters.py,sha256=-eH1Cl16IO_wrBlsGM-km4IY0IKsjhjnSNGRGOwQjVM,897
|
230
230
|
strawberry/utils/typing.py,sha256=Ux0Hl46lhuXvOKK-C5hj6nlz3zDn8P4CUGH2nUVD2vU,13373
|
231
|
-
strawberry_graphql-0.260.
|
232
|
-
strawberry_graphql-0.260.
|
233
|
-
strawberry_graphql-0.260.
|
234
|
-
strawberry_graphql-0.260.
|
235
|
-
strawberry_graphql-0.260.
|
231
|
+
strawberry_graphql-0.260.1.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
|
232
|
+
strawberry_graphql-0.260.1.dist-info/METADATA,sha256=CCDFKT09XgzUjnQIVDy5VDzpRHIXhHZ76L2YZrbfYC0,7539
|
233
|
+
strawberry_graphql-0.260.1.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
234
|
+
strawberry_graphql-0.260.1.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
|
235
|
+
strawberry_graphql-0.260.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{strawberry_graphql-0.260.0.dist-info → strawberry_graphql-0.260.1.dist-info}/entry_points.txt
RENAMED
File without changes
|