strawberry-graphql 0.283.3__py3-none-any.whl → 0.284.0__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/aiohttp/views.py +2 -3
- strawberry/annotation.py +6 -9
- strawberry/asgi/__init__.py +8 -3
- strawberry/asgi/test/client.py +1 -1
- strawberry/channels/handlers/base.py +3 -3
- strawberry/channels/handlers/http_handler.py +3 -3
- strawberry/channels/handlers/ws_handler.py +1 -1
- strawberry/cli/commands/upgrade/__init__.py +1 -3
- strawberry/codegen/query_codegen.py +1 -2
- strawberry/codegen/types.py +1 -1
- strawberry/dataloader.py +9 -3
- strawberry/directive.py +1 -1
- strawberry/django/views.py +2 -3
- strawberry/exceptions/handler.py +2 -1
- strawberry/exceptions/utils/source_finder.py +2 -2
- strawberry/experimental/pydantic/_compat.py +3 -2
- strawberry/experimental/pydantic/error_type.py +1 -2
- strawberry/experimental/pydantic/fields.py +8 -14
- strawberry/experimental/pydantic/object_type.py +1 -9
- strawberry/ext/mypy_plugin.py +2 -1
- strawberry/extensions/base_extension.py +2 -1
- strawberry/extensions/context.py +1 -2
- strawberry/extensions/directives.py +3 -1
- strawberry/extensions/field_extension.py +3 -3
- strawberry/extensions/query_depth_limiter.py +1 -1
- strawberry/extensions/tracing/apollo.py +2 -2
- strawberry/extensions/tracing/datadog.py +2 -2
- strawberry/extensions/tracing/opentelemetry.py +1 -1
- strawberry/extensions/tracing/utils.py +3 -1
- strawberry/fastapi/router.py +2 -2
- strawberry/federation/enum.py +1 -2
- strawberry/federation/field.py +2 -3
- strawberry/federation/object_type.py +1 -2
- strawberry/federation/scalar.py +2 -8
- strawberry/federation/schema_directive.py +2 -1
- strawberry/flask/views.py +1 -1
- strawberry/http/__init__.py +2 -2
- strawberry/http/async_base_view.py +2 -3
- strawberry/http/ides.py +1 -2
- strawberry/http/sync_base_view.py +1 -1
- strawberry/http/types.py +2 -2
- strawberry/litestar/controller.py +8 -3
- strawberry/printer/printer.py +2 -1
- strawberry/quart/views.py +2 -3
- strawberry/relay/fields.py +5 -3
- strawberry/relay/types.py +5 -1
- strawberry/resolvers.py +2 -1
- strawberry/sanic/views.py +2 -3
- strawberry/schema/compat.py +1 -1
- strawberry/schema/config.py +4 -1
- strawberry/schema/schema.py +2 -3
- strawberry/schema/schema_converter.py +1 -2
- strawberry/schema/types/base_scalars.py +1 -1
- strawberry/schema_codegen/__init__.py +2 -2
- strawberry/schema_directive.py +2 -1
- strawberry/subscriptions/protocols/graphql_transport_ws/types.py +2 -2
- strawberry/subscriptions/protocols/graphql_ws/types.py +2 -2
- strawberry/test/client.py +2 -2
- strawberry/types/arguments.py +2 -1
- strawberry/types/auto.py +1 -2
- strawberry/types/base.py +7 -5
- strawberry/types/enum.py +1 -2
- strawberry/types/field.py +6 -8
- strawberry/types/fields/resolver.py +3 -3
- strawberry/types/maybe.py +1 -2
- strawberry/types/mutation.py +3 -4
- strawberry/types/object_type.py +2 -21
- strawberry/types/scalar.py +2 -7
- strawberry/types/union.py +1 -1
- strawberry/utils/aio.py +7 -2
- strawberry/utils/inspect.py +2 -2
- strawberry/utils/typing.py +8 -68
- {strawberry_graphql-0.283.3.dist-info → strawberry_graphql-0.284.0.dist-info}/METADATA +2 -2
- {strawberry_graphql-0.283.3.dist-info → strawberry_graphql-0.284.0.dist-info}/RECORD +77 -78
- strawberry/utils/dataclasses.py +0 -37
- {strawberry_graphql-0.283.3.dist-info → strawberry_graphql-0.284.0.dist-info}/WHEEL +0 -0
- {strawberry_graphql-0.283.3.dist-info → strawberry_graphql-0.284.0.dist-info}/entry_points.txt +0 -0
- {strawberry_graphql-0.283.3.dist-info → strawberry_graphql-0.284.0.dist-info}/licenses/LICENSE +0 -0
strawberry/utils/typing.py
CHANGED
|
@@ -4,6 +4,7 @@ import sys
|
|
|
4
4
|
import typing
|
|
5
5
|
from collections.abc import AsyncGenerator
|
|
6
6
|
from functools import lru_cache
|
|
7
|
+
from types import UnionType
|
|
7
8
|
from typing import ( # type: ignore
|
|
8
9
|
Annotated,
|
|
9
10
|
Any,
|
|
@@ -11,15 +12,16 @@ from typing import ( # type: ignore
|
|
|
11
12
|
ForwardRef,
|
|
12
13
|
Generic,
|
|
13
14
|
Optional,
|
|
15
|
+
TypeGuard,
|
|
14
16
|
TypeVar,
|
|
15
17
|
Union,
|
|
16
18
|
_eval_type,
|
|
17
19
|
_GenericAlias,
|
|
18
20
|
_SpecialForm,
|
|
19
21
|
cast,
|
|
20
|
-
|
|
22
|
+
get_args,
|
|
23
|
+
get_origin,
|
|
21
24
|
)
|
|
22
|
-
from typing_extensions import TypeGuard, get_args, get_origin
|
|
23
25
|
|
|
24
26
|
|
|
25
27
|
@lru_cache
|
|
@@ -76,12 +78,8 @@ def is_union(annotation: object) -> bool:
|
|
|
76
78
|
"""Returns True if annotation is a Union."""
|
|
77
79
|
# this check is needed because unions declared with the new syntax `A | B`
|
|
78
80
|
# don't have a `__origin__` property on them, but they are instances of
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
from types import UnionType
|
|
82
|
-
|
|
83
|
-
if isinstance(annotation, UnionType):
|
|
84
|
-
return True
|
|
81
|
+
if isinstance(annotation, UnionType):
|
|
82
|
+
return True
|
|
85
83
|
|
|
86
84
|
# unions declared as Union[A, B] fall through to this check, even on python 3.10+
|
|
87
85
|
|
|
@@ -185,51 +183,6 @@ def get_parameters(annotation: type) -> Union[tuple[object], tuple[()]]:
|
|
|
185
183
|
return () # pragma: no cover
|
|
186
184
|
|
|
187
185
|
|
|
188
|
-
@overload
|
|
189
|
-
def _ast_replace_union_operation(expr: ast.expr) -> ast.expr: ...
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
@overload
|
|
193
|
-
def _ast_replace_union_operation(expr: ast.Expr) -> ast.Expr: ...
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
def _ast_replace_union_operation(
|
|
197
|
-
expr: Union[ast.Expr, ast.expr],
|
|
198
|
-
) -> Union[ast.Expr, ast.expr]:
|
|
199
|
-
if isinstance(expr, ast.Expr) and isinstance(
|
|
200
|
-
expr.value, (ast.BinOp, ast.Subscript)
|
|
201
|
-
):
|
|
202
|
-
expr = ast.Expr(_ast_replace_union_operation(expr.value))
|
|
203
|
-
elif isinstance(expr, ast.BinOp):
|
|
204
|
-
left = _ast_replace_union_operation(expr.left)
|
|
205
|
-
right = _ast_replace_union_operation(expr.right)
|
|
206
|
-
expr = ast.Subscript(
|
|
207
|
-
ast.Name(id="Union"),
|
|
208
|
-
ast.Tuple([left, right], ast.Load()),
|
|
209
|
-
ast.Load(),
|
|
210
|
-
)
|
|
211
|
-
elif isinstance(expr, ast.Tuple):
|
|
212
|
-
expr = ast.Tuple(
|
|
213
|
-
[_ast_replace_union_operation(elt) for elt in expr.elts],
|
|
214
|
-
ast.Load(),
|
|
215
|
-
)
|
|
216
|
-
elif isinstance(expr, ast.Subscript):
|
|
217
|
-
if hasattr(ast, "Index") and isinstance(expr.slice, ast.Index):
|
|
218
|
-
expr = ast.Subscript(
|
|
219
|
-
expr.value,
|
|
220
|
-
ast.Index(_ast_replace_union_operation(expr.slice.value)), # type: ignore
|
|
221
|
-
ast.Load(),
|
|
222
|
-
)
|
|
223
|
-
elif isinstance(expr.slice, (ast.BinOp, ast.Tuple)):
|
|
224
|
-
expr = ast.Subscript(
|
|
225
|
-
expr.value,
|
|
226
|
-
_ast_replace_union_operation(expr.slice),
|
|
227
|
-
ast.Load(),
|
|
228
|
-
)
|
|
229
|
-
|
|
230
|
-
return expr
|
|
231
|
-
|
|
232
|
-
|
|
233
186
|
def _get_namespace_from_ast(
|
|
234
187
|
expr: Union[ast.Expr, ast.expr],
|
|
235
188
|
globalns: Optional[dict] = None,
|
|
@@ -311,16 +264,6 @@ def eval_type(
|
|
|
311
264
|
if isinstance(type_, ForwardRef):
|
|
312
265
|
ast_obj = cast("ast.Expr", ast.parse(type_.__forward_arg__).body[0])
|
|
313
266
|
|
|
314
|
-
# For Python 3.10+, we can use the built-in _eval_type function directly.
|
|
315
|
-
# It will handle "|" notations properly
|
|
316
|
-
if sys.version_info < (3, 10):
|
|
317
|
-
ast_obj = _ast_replace_union_operation(ast_obj)
|
|
318
|
-
|
|
319
|
-
# We replaced "a | b" with "Union[a, b], so make sure Union can be resolved
|
|
320
|
-
# at globalns because it may not be there
|
|
321
|
-
if "Union" not in globalns:
|
|
322
|
-
globalns["Union"] = Union
|
|
323
|
-
|
|
324
267
|
globalns.update(_get_namespace_from_ast(ast_obj, globalns, localns))
|
|
325
268
|
|
|
326
269
|
type_ = ForwardRef(ast.unparse(ast_obj))
|
|
@@ -385,11 +328,8 @@ def eval_type(
|
|
|
385
328
|
|
|
386
329
|
# python 3.10 will return UnionType for origin, and it cannot be
|
|
387
330
|
# subscripted like Union[Foo, Bar]
|
|
388
|
-
if
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
if origin is UnionType:
|
|
392
|
-
origin = Union
|
|
331
|
+
if origin is UnionType:
|
|
332
|
+
origin = Union
|
|
393
333
|
|
|
394
334
|
type_ = (
|
|
395
335
|
origin[tuple(eval_type(a, globalns, localns) for a in args)]
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: strawberry-graphql
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.284.0
|
|
4
4
|
Summary: A library for creating GraphQL APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
7
7
|
Keywords: graphql,api,rest,starlette,async
|
|
8
8
|
Author: Patrick Arminio
|
|
9
9
|
Author-email: patrick.arminio@gmail.com
|
|
10
|
-
Requires-Python: >=3.
|
|
10
|
+
Requires-Python: >=3.10,<4.0
|
|
11
11
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Classifier: Topic :: Software Development :: Libraries
|
|
@@ -3,18 +3,18 @@ strawberry/__main__.py,sha256=3U77Eu21mJ-LY27RG-JEnpbh6Z63wGOom4i-EoLtUcY,59
|
|
|
3
3
|
strawberry/aiohttp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
strawberry/aiohttp/test/__init__.py,sha256=4xxdUZtIISSOwjrcnmox7AvT4WWjowCm5bUuPdQneMg,71
|
|
5
5
|
strawberry/aiohttp/test/client.py,sha256=8FKZTnvawxYpgEICOri-34O3wHRHLhRpjH_Ktp2EupQ,1801
|
|
6
|
-
strawberry/aiohttp/views.py,sha256=
|
|
7
|
-
strawberry/annotation.py,sha256=
|
|
8
|
-
strawberry/asgi/__init__.py,sha256=
|
|
6
|
+
strawberry/aiohttp/views.py,sha256=ORAYPqqxdh-GqGc_2oaRG3Z6sypVmYOXMGihQ1sKVXA,6587
|
|
7
|
+
strawberry/annotation.py,sha256=wxXLjcEXqNyp-MhV67_On8ltJ2rVQXKTVDYOqdL2K1c,15759
|
|
8
|
+
strawberry/asgi/__init__.py,sha256=dJ1Y12lJ2oIDto6OV90bmBqVwkL76_AzcOto8xwfwQc,7293
|
|
9
9
|
strawberry/asgi/test/__init__.py,sha256=4xxdUZtIISSOwjrcnmox7AvT4WWjowCm5bUuPdQneMg,71
|
|
10
|
-
strawberry/asgi/test/client.py,sha256=
|
|
10
|
+
strawberry/asgi/test/client.py,sha256=m8YSfNj-lLC23sBYmd0BMlEVsx82ebQNTP9N3-2bsgE,1462
|
|
11
11
|
strawberry/chalice/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
12
|
strawberry/chalice/views.py,sha256=9dBOs_sPH7KNuahlvw4zymxG-Bjj24f5st4-OqMek3g,2785
|
|
13
13
|
strawberry/channels/__init__.py,sha256=AVmEwhzGHcTycMCnZYcZFFqZV8tKw9FJN4YXws-vWFA,433
|
|
14
14
|
strawberry/channels/handlers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
|
-
strawberry/channels/handlers/base.py,sha256=
|
|
16
|
-
strawberry/channels/handlers/http_handler.py,sha256=
|
|
17
|
-
strawberry/channels/handlers/ws_handler.py,sha256=
|
|
15
|
+
strawberry/channels/handlers/base.py,sha256=21TOessptqle2DFWGddwq9cvcPZKuJqZAps6JoyDqq8,7841
|
|
16
|
+
strawberry/channels/handlers/http_handler.py,sha256=jWF_S08VD1vENdQ0TyMkS0TY5QFinBCBsM4eW69eSKk,12461
|
|
17
|
+
strawberry/channels/handlers/ws_handler.py,sha256=7Q5rq49MxhPgdDIGu3EgwXO77TU-Lb7O-Or_jMmeMPw,6163
|
|
18
18
|
strawberry/channels/router.py,sha256=DKIbl4zuRBhfvViUVpyu0Rf_WRT41E6uZC-Yic9Ltvo,2024
|
|
19
19
|
strawberry/channels/testing.py,sha256=dc9mvSm9YdNOUgQk5ou5K4iE2h6TP5quKnk4Xdtn-IY,6558
|
|
20
20
|
strawberry/cli/__init__.py,sha256=szPgUPbmZKgoYVY1EsqnUFWi8onJVje3EUx3ACbnfA4,703
|
|
@@ -26,7 +26,7 @@ strawberry/cli/commands/export_schema.py,sha256=pyp_Q3BiO7lFH0L3mNPvr7UF8hlhcoUP
|
|
|
26
26
|
strawberry/cli/commands/locate_definition.py,sha256=aJJ_KeAnV-c8zTdWIhzcHUilUmCpqsmrVy24qHbyWKk,1001
|
|
27
27
|
strawberry/cli/commands/schema_codegen.py,sha256=G6eV08a51sjVxCm3jn75oPn9hC8YarKiAKOY5bpTuKU,749
|
|
28
28
|
strawberry/cli/commands/server.py,sha256=nbIz-0l_EqQkvpSlg5h9eGFtfW3eSjxUt9bLgRelylo,1066
|
|
29
|
-
strawberry/cli/commands/upgrade/__init__.py,sha256=
|
|
29
|
+
strawberry/cli/commands/upgrade/__init__.py,sha256=_6NkQsihWRTOjJVMc_LNDXk9QlqQbeqsRW3rGSsC4So,2491
|
|
30
30
|
strawberry/cli/commands/upgrade/_fake_progress.py,sha256=fefLgJwTXe4kG9RntdEJdzkPPRBK_pZqnmMH-pxD85Y,484
|
|
31
31
|
strawberry/cli/commands/upgrade/_run_codemod.py,sha256=LZd5D1PP65bwVZjBvPPVrZ9t-bfvrafZ__HPBrW2WYA,2168
|
|
32
32
|
strawberry/cli/constants.py,sha256=MZ8JTo6YyS8t_mRtJJuNCQPiaKzyqjDbncizDb2pG-c,63
|
|
@@ -39,26 +39,26 @@ strawberry/codegen/plugins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
|
39
39
|
strawberry/codegen/plugins/print_operation.py,sha256=PxNPw9gXtqC_upIhgM9I6pmb66g523VMcIaKgLDMuOc,6799
|
|
40
40
|
strawberry/codegen/plugins/python.py,sha256=GgwxTGd16LPKxGuZBohJYWsarKjWfZY1-aGIA71m9MU,6903
|
|
41
41
|
strawberry/codegen/plugins/typescript.py,sha256=LFEK2ZLz4tUukkwZvUTXhsi_cVca3ybsLaatsW5JA5g,3865
|
|
42
|
-
strawberry/codegen/query_codegen.py,sha256=
|
|
43
|
-
strawberry/codegen/types.py,sha256=
|
|
42
|
+
strawberry/codegen/query_codegen.py,sha256=PZKB7IIfMBEBuOtxoIcUorZJIkiZjEOV2uo1x9X1GT8,30396
|
|
43
|
+
strawberry/codegen/types.py,sha256=2Mao8ooRnnUP0ikk10z2T8e-Pz1YdtP1fkYZFLxgpeQ,4170
|
|
44
44
|
strawberry/codemods/__init__.py,sha256=iXL0fq_VMhmSN3NFkQC4IwQn3pscfES61icODcJAjeo,268
|
|
45
45
|
strawberry/codemods/annotated_unions.py,sha256=T0KqJEmoOdOXVCOHI1G6ECvEVL2tzIRBenysrz3EhPQ,5988
|
|
46
46
|
strawberry/codemods/maybe_optional.py,sha256=PnFbh4kax7UMrsMOsqMF55Q3NN6jMPMxfs_25KmlB_A,4401
|
|
47
47
|
strawberry/codemods/update_imports.py,sha256=4n1m-mxVK7h4FnkrpWgxOOCswIqy9SisApWbh-oSZ3E,4622
|
|
48
|
-
strawberry/dataloader.py,sha256=
|
|
49
|
-
strawberry/directive.py,sha256=
|
|
48
|
+
strawberry/dataloader.py,sha256=EBfu7J4o7hNjSvZemlWOlo4FfZkBz5-k_m5UPZHnfJc,7933
|
|
49
|
+
strawberry/directive.py,sha256=LSEiIeqXaHUq1gj5TQ0eSvukg_ixoQTj6mqu1f2fi1U,3611
|
|
50
50
|
strawberry/django/__init__.py,sha256=VZJQqZ0yX902z0w8vNafKiYT4fcxqlJwvei0Sje_Nzo,811
|
|
51
51
|
strawberry/django/apps.py,sha256=ZWw3Mzv1Cgy0T9xT8Jr2_dkCTZjT5WQABb34iqnu5pc,135
|
|
52
52
|
strawberry/django/context.py,sha256=XL85jDGAVnb2pwgm5uRUvIXwlGia3i-8ZVfKihf0T24,655
|
|
53
53
|
strawberry/django/test/__init__.py,sha256=4xxdUZtIISSOwjrcnmox7AvT4WWjowCm5bUuPdQneMg,71
|
|
54
54
|
strawberry/django/test/client.py,sha256=5sAZhCyNiydnQtauI_7H_TRnPfHV3V5d-FKxxDxvTAs,620
|
|
55
|
-
strawberry/django/views.py,sha256
|
|
55
|
+
strawberry/django/views.py,sha256=-1t4XAYfGvUDoK3Cxc2wUs3rnUsZV_3d6Pd7tcn8yrA,7863
|
|
56
56
|
strawberry/exceptions/__init__.py,sha256=frr0FLykBb8saILFg4pyvhPN0CY3DdSahBUFwK4Hqf0,6628
|
|
57
57
|
strawberry/exceptions/conflicting_arguments.py,sha256=FJ5ZlZ_C9O7XS0H9hB0KGRRix0mcB4P6WwIccTJeh-g,1581
|
|
58
58
|
strawberry/exceptions/duplicated_type_name.py,sha256=Yc8UKO_pTtuXZmkEWp1onBdQitkMSMrfvWfeauLQ-ZI,2204
|
|
59
59
|
strawberry/exceptions/exception.py,sha256=a_MrBuZtQJD2Zd3pzdNpfuXdJPa6pNX3dz3NpjDSha8,3445
|
|
60
60
|
strawberry/exceptions/exception_source.py,sha256=Krr9KprJLMuiDBYRzRYULvLIuSjd8gIaiXmPoPCHEDo,404
|
|
61
|
-
strawberry/exceptions/handler.py,sha256=
|
|
61
|
+
strawberry/exceptions/handler.py,sha256=RqBo-9EN0iBRlDb4PxzJmhQ3pNkhjuMNfEHXdddGEvk,2712
|
|
62
62
|
strawberry/exceptions/invalid_argument_type.py,sha256=xu239AOYV0zKt4B6y3f4yZfcIJfB5qCcORWJBM9XPQw,2213
|
|
63
63
|
strawberry/exceptions/invalid_superclass_interface.py,sha256=LyIjPVb7k-E0LSAfB6K_PSbOCtvhh2fcKXoykqnzdLA,1293
|
|
64
64
|
strawberry/exceptions/invalid_union_type.py,sha256=zKxDsagrs4_4ATxSHuPBHY6eQO45S3G1v7b09qQZZ4g,3610
|
|
@@ -74,16 +74,16 @@ strawberry/exceptions/scalar_already_registered.py,sha256=fkShJdwfawbs39Hje1VOTK
|
|
|
74
74
|
strawberry/exceptions/syntax.py,sha256=dGVmOO1MCOkC1sBPmDrD26lddcRkHlobuF7MwKOa-Gk,1740
|
|
75
75
|
strawberry/exceptions/unresolved_field_type.py,sha256=WcZHAJJCwco1eb_oSrJWyXpxU1fNTUUvcAAhC88tHII,1877
|
|
76
76
|
strawberry/exceptions/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
77
|
-
strawberry/exceptions/utils/source_finder.py,sha256=
|
|
77
|
+
strawberry/exceptions/utils/source_finder.py,sha256=Iwz_RVCUbrj29MNOoigq6gGhp1Icmjo9OWCG-Ge_pTk,22566
|
|
78
78
|
strawberry/experimental/__init__.py,sha256=2HP5XtxL8ZKsPp4EDRAbMCqiP7p2V4Cca278JUGxnt0,102
|
|
79
79
|
strawberry/experimental/pydantic/__init__.py,sha256=UpO8wHNXGpoCYp34YStViInO1tsrGsMyhTVubTpJY7Y,255
|
|
80
|
-
strawberry/experimental/pydantic/_compat.py,sha256=
|
|
80
|
+
strawberry/experimental/pydantic/_compat.py,sha256=JxB1Qr88nMSFjqyCvIbFNi1tTD8qYY_Jc-tkjNylWB4,9726
|
|
81
81
|
strawberry/experimental/pydantic/conversion.py,sha256=xspWZtbCuhLeStf12X60c5cOrKp4ilVDlnW-tRU0_YY,4242
|
|
82
82
|
strawberry/experimental/pydantic/conversion_types.py,sha256=jf7PR5Q7hgo4J_AuxBK-BVj-8MC6vIg1k1pUfGfGTL8,925
|
|
83
|
-
strawberry/experimental/pydantic/error_type.py,sha256=
|
|
83
|
+
strawberry/experimental/pydantic/error_type.py,sha256=5vcRySIJObnK0fz_G-Gawhj3MnEvRaX8jwoJY4dsZoM,4553
|
|
84
84
|
strawberry/experimental/pydantic/exceptions.py,sha256=pDMPL94ojuSGHxk8H8mI2pfWReG8BhqZ5T2eSxfOi9w,1486
|
|
85
|
-
strawberry/experimental/pydantic/fields.py,sha256=
|
|
86
|
-
strawberry/experimental/pydantic/object_type.py,sha256=
|
|
85
|
+
strawberry/experimental/pydantic/fields.py,sha256=cjayyglsn8MzsvyuiyAepD6S3VyRamwOTVzLRlrxH68,2122
|
|
86
|
+
strawberry/experimental/pydantic/object_type.py,sha256=kWKWz25AjGEoX4SBdpsvZvu-qfRaXqGjNxNa3bx8LwI,12658
|
|
87
87
|
strawberry/experimental/pydantic/utils.py,sha256=URSzmcK2KzNGsLv4RyFdFfJnr-ARNLkkM0D4CjijVQU,4035
|
|
88
88
|
strawberry/ext/LICENSE,sha256=_oY0TZg0b_sW0--0T44aMTpy2e2zF1Kiyn8E1qDiivo,1249
|
|
89
89
|
strawberry/ext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -91,41 +91,41 @@ strawberry/ext/dataclasses/LICENSE,sha256=WZgm35K_3NJwLqxpEHJJi7CWxVrwTumEz5D3Dt
|
|
|
91
91
|
strawberry/ext/dataclasses/README.md,sha256=WE3523o9gBGpa18ikiQhgEUNuuBJWR5tMKmjicrLOHU,1389
|
|
92
92
|
strawberry/ext/dataclasses/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
93
93
|
strawberry/ext/dataclasses/dataclasses.py,sha256=bTW8nRwflW7_JtGhzXiKhe9Kajha_fgCfR0jVKrCzBw,2287
|
|
94
|
-
strawberry/ext/mypy_plugin.py,sha256=
|
|
94
|
+
strawberry/ext/mypy_plugin.py,sha256=vQBnAtbDoNv8dg374hnJZzMLHleTXexfTqp5L0k3g6k,20514
|
|
95
95
|
strawberry/extensions/__init__.py,sha256=2TXnEVXumViXzBe-9ppb0CX90Wbc6644IE7aJQAEAXs,1308
|
|
96
96
|
strawberry/extensions/add_validation_rules.py,sha256=YwC_27jUpQ6DWcCB1RsuE1JD8R5rV7LAu5fVjdLchYs,1358
|
|
97
|
-
strawberry/extensions/base_extension.py,sha256=
|
|
98
|
-
strawberry/extensions/context.py,sha256=
|
|
99
|
-
strawberry/extensions/directives.py,sha256=
|
|
97
|
+
strawberry/extensions/base_extension.py,sha256=ExI6E6vToljQrg4U8cRy1cFe7i_Wm41SrZ6AHnyw-pI,2378
|
|
98
|
+
strawberry/extensions/context.py,sha256=OmqoWUDPo9ovYE9SBzNEfN088m6ZVlDlcD8NNKitRko,7181
|
|
99
|
+
strawberry/extensions/directives.py,sha256=39YyHcO2c8p54nb0EdmZ-pDjIQP7cIg9wlVlMleU6Fg,3122
|
|
100
100
|
strawberry/extensions/disable_introspection.py,sha256=7FmktNvc9CzOJG9xf_nYG3LThs0cv-g2P-Kzlerna7w,717
|
|
101
101
|
strawberry/extensions/disable_validation.py,sha256=WaA7x6Q-K4IMnvx35OQ1UtokIKaxkWvO_OJO9fFM_vA,750
|
|
102
|
-
strawberry/extensions/field_extension.py,sha256=
|
|
102
|
+
strawberry/extensions/field_extension.py,sha256=UT3bsIT5D88wYzKtCClv6HZgxSvgVd5mkU6eA6kAjsg,5550
|
|
103
103
|
strawberry/extensions/mask_errors.py,sha256=_tCJUxnGRSf5uM2irg8OBVxzKfenT3C1_TD4sOj-5SQ,1892
|
|
104
104
|
strawberry/extensions/max_aliases.py,sha256=qaV9rqHTqfhh7YdFnXVvjf14wmAiXBtKHGAxb1Yv4DQ,2547
|
|
105
105
|
strawberry/extensions/max_tokens.py,sha256=53Gb0tSj-G7so_vLokdmtUal4KCXQBYLJi1LSIvdkXE,1045
|
|
106
106
|
strawberry/extensions/parser_cache.py,sha256=oi6Svpy21_YP-d9G3nv_5HzJPw5FyBhWplCYnzcKwO8,1291
|
|
107
107
|
strawberry/extensions/pyinstrument.py,sha256=c5qmVQMmvA2Wtivvlgkvx1C2EMexoG-XFxMenaItGYU,753
|
|
108
|
-
strawberry/extensions/query_depth_limiter.py,sha256=
|
|
108
|
+
strawberry/extensions/query_depth_limiter.py,sha256=FxDSiRPz6Yk5orruiNIsXZcgcu-o7OS28j2lVIYpupw,9750
|
|
109
109
|
strawberry/extensions/runner.py,sha256=LCUSzKUrwTYhoIr1nS8uFDN15_YEQ_3BFK1zpPfOfsA,1873
|
|
110
110
|
strawberry/extensions/tracing/__init__.py,sha256=igoDJBlfh7vGhytJ5njx1qQzpxZOUmdfIaH4j5Kmt3E,1112
|
|
111
|
-
strawberry/extensions/tracing/apollo.py,sha256=
|
|
112
|
-
strawberry/extensions/tracing/datadog.py,sha256
|
|
113
|
-
strawberry/extensions/tracing/opentelemetry.py,sha256=
|
|
114
|
-
strawberry/extensions/tracing/utils.py,sha256=
|
|
111
|
+
strawberry/extensions/tracing/apollo.py,sha256=Z967D8Fw1wJbT7UFfOZWB3VOVcdAC9yOd89uxLJBMAw,5900
|
|
112
|
+
strawberry/extensions/tracing/datadog.py,sha256=414AfbOJb4jWS6B0IqvYN4tiEcDsMcjRyIk_j8GD74Y,5800
|
|
113
|
+
strawberry/extensions/tracing/opentelemetry.py,sha256=tKk-1mhCUsPw6pHUD3EknWQnzafdc8BRZqRMRZMrCCM,7327
|
|
114
|
+
strawberry/extensions/tracing/utils.py,sha256=AQqPvdABa51ACCsH21kQgVu5OQdeqvog_c2t1Gla258,686
|
|
115
115
|
strawberry/extensions/utils.py,sha256=sjhxItHzbDhqHtnR63WbE35qzHhTyf9NSffidet79Hc,995
|
|
116
116
|
strawberry/extensions/validation_cache.py,sha256=Fp0bz0HfbMVjaOVfTyetR7Knhic0tthkzB_0kOOyJY0,1447
|
|
117
117
|
strawberry/fastapi/__init__.py,sha256=p5qg9AlkYjNOWKcT4uRiebIpR6pIb1HqDMiDfF5O3tg,147
|
|
118
118
|
strawberry/fastapi/context.py,sha256=O_cDNppfUJJecM0ZU_RJ-dhdF0o1x39JfYvYg-7uob4,684
|
|
119
|
-
strawberry/fastapi/router.py,sha256=
|
|
119
|
+
strawberry/fastapi/router.py,sha256=A_MHZxDX9CI19GjKR7P_KWK8dcjGZ1Ege9gKin7HWOM,12028
|
|
120
120
|
strawberry/federation/__init__.py,sha256=Pw01N0rG9o0NaUxXLMNGeW5oLENeWVx_d8Kuef1ES4s,549
|
|
121
121
|
strawberry/federation/argument.py,sha256=rs71S1utiNUd4XOLRa9KVtSMA3yqvKJnR_qdJqX6PPM,860
|
|
122
|
-
strawberry/federation/enum.py,sha256=
|
|
123
|
-
strawberry/federation/field.py,sha256=
|
|
122
|
+
strawberry/federation/enum.py,sha256=4KyLl5ExTo8_mwLM879CmMZuEc61tCpPb7msmaj6dlE,3147
|
|
123
|
+
strawberry/federation/field.py,sha256=Ya3_kPfYblZmKAO9pnVqD60uozK0t2s7xCVitUGhVfs,8899
|
|
124
124
|
strawberry/federation/mutation.py,sha256=5t2E419m4K2W6LoWEOzWgMdL2J0PwHnsffYkpChqqDQ,67
|
|
125
|
-
strawberry/federation/object_type.py,sha256=
|
|
126
|
-
strawberry/federation/scalar.py,sha256=
|
|
125
|
+
strawberry/federation/object_type.py,sha256=AsdzaKTSQLJdtjASC7GNVOxxnFbDWZ-Dx8wP-3_oi8s,9377
|
|
126
|
+
strawberry/federation/scalar.py,sha256=tux61iOTLIiRsVp1Oaq3JSpikvIqOLQQvCRR4piqGU0,4520
|
|
127
127
|
strawberry/federation/schema.py,sha256=r-_SnThdDbeQDst9iUnwFCA-CoeF7KzQw_C4-yI3QeA,13252
|
|
128
|
-
strawberry/federation/schema_directive.py,sha256=
|
|
128
|
+
strawberry/federation/schema_directive.py,sha256=z6XJU5QLFnnbaXasMRo1bLNWoXugvRLeWfc5uWYVSX8,1796
|
|
129
129
|
strawberry/federation/schema_directives.py,sha256=81QiHIbN4xNOUs2Ttd6WE2oGRsBVAG1-_Sw-eGwaq94,6394
|
|
130
130
|
strawberry/federation/types.py,sha256=cqyx_-GJ5d__hac7bip_dQKm9NGR88D0N1JVnde0Ji8,360
|
|
131
131
|
strawberry/federation/union.py,sha256=oGgu3co_60At0km8Zixvl20Bs8Z0SXc-Vqe9vcgPr0o,1680
|
|
@@ -135,56 +135,56 @@ strawberry/file_uploads/__init__.py,sha256=v2-6FGBqnTnMPSUTFOiXpIutDMl-ga0PFtw5t
|
|
|
135
135
|
strawberry/file_uploads/scalars.py,sha256=NRDeB7j8aotqIkz9r62ISTf4DrxQxEZYUuHsX5K16aU,161
|
|
136
136
|
strawberry/file_uploads/utils.py,sha256=-c6TbqUI-Dkb96hWCrZabh6TL2OabBuQNkCarOqgDm4,1181
|
|
137
137
|
strawberry/flask/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
138
|
-
strawberry/flask/views.py,sha256=
|
|
139
|
-
strawberry/http/__init__.py,sha256=
|
|
140
|
-
strawberry/http/async_base_view.py,sha256=
|
|
138
|
+
strawberry/flask/views.py,sha256=v_-xabkoBfhRo0favy16C1Z5NkiJnWrcw5ep80wuL8Y,4554
|
|
139
|
+
strawberry/http/__init__.py,sha256=ZWmRgW1BhnRjJ0ma5_LYxu7mgVyslZGurJnX0vVrAko,1482
|
|
140
|
+
strawberry/http/async_base_view.py,sha256=ddY6q3jne4VR5QUyNbNTxUfve3QrJa1535KUrKCGulA,25567
|
|
141
141
|
strawberry/http/base.py,sha256=_QDvnorSvHj1RaV8sd7PMFY2cKwMJYjfd7w7wWq6wkY,3280
|
|
142
142
|
strawberry/http/exceptions.py,sha256=5uud0ZijcMC7TS9iiqMTre9DVIe04judh8E8nSbwxy8,258
|
|
143
|
-
strawberry/http/ides.py,sha256=
|
|
143
|
+
strawberry/http/ides.py,sha256=S5NsLHxSNQO50a_OzVOrsN_TwDbvO5u69m6zL9cVnr4,584
|
|
144
144
|
strawberry/http/parse_content_type.py,sha256=CYHO8F9b9DP1gJ1xxPjc9L2GkBwsyC1O_GCEp1QOuG0,381
|
|
145
|
-
strawberry/http/sync_base_view.py,sha256=
|
|
145
|
+
strawberry/http/sync_base_view.py,sha256=oZ4JY1EF82-B7DJJfeIs7y_Fk0PKR53Pzz-ptGNrcxo,10290
|
|
146
146
|
strawberry/http/temporal_response.py,sha256=HTt65g-YxqlPGxjqvH5bzGoU1b3CctVR-9cmCRo5dUo,196
|
|
147
|
-
strawberry/http/types.py,sha256=
|
|
147
|
+
strawberry/http/types.py,sha256=__QYyo9XJdaDw9q6VT27sYAVLGDaeXWGN8VozE9wI8g,398
|
|
148
148
|
strawberry/http/typevars.py,sha256=Uu6NkKe3h7o29ZWwldq6sJy4ioSSeXODTCDRvY2hUpE,489
|
|
149
149
|
strawberry/litestar/__init__.py,sha256=zsXzg-mglCGUVO9iNXLm-yadoDSCK7k-zuyRqyvAh1w,237
|
|
150
|
-
strawberry/litestar/controller.py,sha256=
|
|
150
|
+
strawberry/litestar/controller.py,sha256=lPB08ODf4G4gfZtZVnNrkoT-92Y20VFFc75ThCVLTN4,13058
|
|
151
151
|
strawberry/parent.py,sha256=JYFp-HGCgwbH2oB4uLSiIO4cVsoPaxX6lfYmxOKPkSg,1362
|
|
152
152
|
strawberry/permission.py,sha256=dSRJMjSCmTlXfvfC24kCSrAk0txTjYKTJ5ZVU5IW91Y,7537
|
|
153
153
|
strawberry/printer/__init__.py,sha256=DmepjmgtkdF5RxK_7yC6qUyRWn56U-9qeZMbkztYB9w,62
|
|
154
154
|
strawberry/printer/ast_from_value.py,sha256=Tkme60qlykbN2m3dNPNMOe65X-wj6EmcDQwgQv7gUkc,4987
|
|
155
|
-
strawberry/printer/printer.py,sha256=
|
|
155
|
+
strawberry/printer/printer.py,sha256=_tB253rJzFR43VSfEXpLIkpl1Wt1nEEP3DPUBMrL8g4,19205
|
|
156
156
|
strawberry/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
157
157
|
strawberry/quart/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
158
|
-
strawberry/quart/views.py,sha256=
|
|
158
|
+
strawberry/quart/views.py,sha256=gQ8-R2EYq0WFsuhADSZBey2QJrQPdxpz0ONtetx6PiI,6549
|
|
159
159
|
strawberry/relay/__init__.py,sha256=Vi4btvA_g6Cj9Tk_F9GCSegapIf2WqkOWV8y3P0cTCs,553
|
|
160
160
|
strawberry/relay/exceptions.py,sha256=Za0iXLBGZtd1HkesGm4xTr3QOeuyiCAe1hiCCQ2HHvE,4036
|
|
161
|
-
strawberry/relay/fields.py,sha256=
|
|
162
|
-
strawberry/relay/types.py,sha256=
|
|
161
|
+
strawberry/relay/fields.py,sha256=dfA2gYfZA_OdQvVQ14klMKodfBtQhjZsrvk4cRPBksw,18293
|
|
162
|
+
strawberry/relay/types.py,sha256=9Ud3EuNTNeYqbrjdRX2QbDMtWnnmat2FxhfgB26stBY,30476
|
|
163
163
|
strawberry/relay/utils.py,sha256=0qllwh7MGALK8UUdvjwjlYaaFGvlFUzkcUKdyhx3L9Y,5552
|
|
164
|
-
strawberry/resolvers.py,sha256=
|
|
164
|
+
strawberry/resolvers.py,sha256=j2sIi-jI2PrnO3if202l8VBuwQQxblPgRupEaDUu-lA,287
|
|
165
165
|
strawberry/sanic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
166
166
|
strawberry/sanic/context.py,sha256=qN7I9K_qIqgdbG_FbDl8XMb9aM1PyjIxSo8IAg2Uq8o,844
|
|
167
167
|
strawberry/sanic/utils.py,sha256=XjUVBFuBWfECBCZbx_YtrjQnFTUyIGTo7aISIeB22Gc,1007
|
|
168
|
-
strawberry/sanic/views.py,sha256=
|
|
168
|
+
strawberry/sanic/views.py,sha256=SvPD9S2nF_nNOI2aL0xGwswLVom1AMXrxocl2BozVu4,5653
|
|
169
169
|
strawberry/scalars.py,sha256=CGkG8CIfurXiYhidmW3qwy6M5BF_Mhih3wAEcWx_iBU,2278
|
|
170
170
|
strawberry/schema/__init__.py,sha256=u1QCyDVQExUVDA20kyosKPz3TS5HMCN2NrXclhiFAL4,92
|
|
171
171
|
strawberry/schema/_graphql_core.py,sha256=_ubCP_4ZZ1KwZGLlHTPPcUVPk_hDh6EOp2FxjCfyKxM,1642
|
|
172
172
|
strawberry/schema/base.py,sha256=wqvEOQ_aVkfebk9SlG9zg1YXl3MlwxGZhxFRoIkAxu0,4053
|
|
173
|
-
strawberry/schema/compat.py,sha256=
|
|
174
|
-
strawberry/schema/config.py,sha256=
|
|
173
|
+
strawberry/schema/compat.py,sha256=_8zIZgIbLYfwarr7OsVjaF7IkABFqozIbUFvVdicIKQ,1862
|
|
174
|
+
strawberry/schema/config.py,sha256=j9ydGgs-afr_bCRWALG5KXrt8x4cHTT9rPnfRsGRuJQ,1282
|
|
175
175
|
strawberry/schema/exceptions.py,sha256=8gsMxxFDynMvRkUDuVL9Wwxk_zsmo6QoJ2l4NPxd64M,1137
|
|
176
176
|
strawberry/schema/name_converter.py,sha256=JG5JKLr9wp8BMJIvG3_bVkwFdoLGbknNR1Bt75urXN0,6950
|
|
177
|
-
strawberry/schema/schema.py,sha256=
|
|
178
|
-
strawberry/schema/schema_converter.py,sha256=
|
|
177
|
+
strawberry/schema/schema.py,sha256=9bfLLg0kMeMelK6tqrtw4D5WHwKAoqi64o7ISxsSzFM,39533
|
|
178
|
+
strawberry/schema/schema_converter.py,sha256=faHP2Gr2e0MUimM_gFA_VT_nIk5BLek_eG5j8D4hdYU,40820
|
|
179
179
|
strawberry/schema/types/__init__.py,sha256=oHO3COWhL3L1KLYCJNY1XFf5xt2GGtHiMC-UaYbFfnA,68
|
|
180
|
-
strawberry/schema/types/base_scalars.py,sha256=
|
|
180
|
+
strawberry/schema/types/base_scalars.py,sha256=4gMBxSgzG8_u70J-Q-tWJAiUoUErV2PSr_d3kXRy8Fo,1980
|
|
181
181
|
strawberry/schema/types/concrete_type.py,sha256=axIyFZgdwNv-XYkiqX67464wuFX6Vp0jYATwnBZSUvM,750
|
|
182
182
|
strawberry/schema/types/scalar.py,sha256=bg9AumdmYUBuvaKoEZtP9YKJ7lwMtDMCWFTsZQwpdQY,2375
|
|
183
183
|
strawberry/schema/validation_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
184
184
|
strawberry/schema/validation_rules/maybe_null.py,sha256=RrIq1yV5_2YxIYN7jx8AaY6O_pqxKtylbM1IygFz5z4,5624
|
|
185
185
|
strawberry/schema/validation_rules/one_of.py,sha256=fPuYzCyLT7p9y7dHF_sWTImArTQaEhyF664lZijB1Gw,2629
|
|
186
|
-
strawberry/schema_codegen/__init__.py,sha256=
|
|
187
|
-
strawberry/schema_directive.py,sha256=
|
|
186
|
+
strawberry/schema_codegen/__init__.py,sha256=jciYahaj9WQAsQmBXSs4WLgQZWrWVfo-yKOYGeXQN44,24364
|
|
187
|
+
strawberry/schema_directive.py,sha256=D0SSgOpfka8YCMMksbE-mMLoJjMFQHarh5uAK-mHU6w,2050
|
|
188
188
|
strawberry/schema_directives.py,sha256=KGKFWCODjm1Ah9qNV_bBwbic7Mld4qLWnWQkev-PG8A,175
|
|
189
189
|
strawberry/static/apollo-sandbox.html,sha256=2XzkbE0dqsFHqehE-jul9_J9TFOpwA6Ylrlo0Kdx_9w,973
|
|
190
190
|
strawberry/static/graphiql.html,sha256=0e3pvTnAet-lNEqA_pgJ8Ak2CdMt34zPKMMMzpAkEVU,4257
|
|
@@ -194,51 +194,50 @@ strawberry/subscriptions/__init__.py,sha256=1VGmiCzFepqRFyCikagkUoHHdoTG3XYlFu9G
|
|
|
194
194
|
strawberry/subscriptions/protocols/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
195
195
|
strawberry/subscriptions/protocols/graphql_transport_ws/__init__.py,sha256=wN6dkMu6WiaIZTE19PGoN9xXpIN_RdDE_q7F7ZgjCxk,138
|
|
196
196
|
strawberry/subscriptions/protocols/graphql_transport_ws/handlers.py,sha256=-URgId_r8Q0nTiGT1AqtvVUdWyhqPlCE7qR5f7T_M-U,15114
|
|
197
|
-
strawberry/subscriptions/protocols/graphql_transport_ws/types.py,sha256=
|
|
197
|
+
strawberry/subscriptions/protocols/graphql_transport_ws/types.py,sha256=hEeELZOYs9djIlR-gRqjdrYD4hgDIZVAUFU94o2xwf4,2169
|
|
198
198
|
strawberry/subscriptions/protocols/graphql_ws/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
199
199
|
strawberry/subscriptions/protocols/graphql_ws/handlers.py,sha256=krxrmWYE68Y-Qx6XnNfdz5Sdq0ShZI1oeTj_kFEKP50,8453
|
|
200
|
-
strawberry/subscriptions/protocols/graphql_ws/types.py,sha256=
|
|
200
|
+
strawberry/subscriptions/protocols/graphql_ws/types.py,sha256=ZwiuEsxezWgngzDA3Uq_Sn_sz61KJx8PPudNC2jDJJY,2003
|
|
201
201
|
strawberry/test/__init__.py,sha256=lKVbKJDBnrYSPYHIKrg54UpaZcSoL93Z01zOpA1IzZM,115
|
|
202
|
-
strawberry/test/client.py,sha256=
|
|
202
|
+
strawberry/test/client.py,sha256=XFD_wyA2YjJ6kJGie_W9PzYLj7ByjHr-K0O3RQFoX7I,6438
|
|
203
203
|
strawberry/tools/__init__.py,sha256=pdGpZx8wpq03VfUZJyF9JtYxZhGqzzxCiipsalWxJX4,127
|
|
204
204
|
strawberry/tools/create_type.py,sha256=y10LgJnWDFtZB-xHLqpVg5ySqvz5KSFC6PNflogie1Q,2329
|
|
205
205
|
strawberry/tools/merge_types.py,sha256=hUMRRNM28FyPp70jRA3d4svv9WoEBjaNpihBt3DaY0I,1023
|
|
206
206
|
strawberry/types/__init__.py,sha256=baWEdDkkmCcITOhkg2hNUOenrNV1OYdxGE5qgvIRwwU,351
|
|
207
|
-
strawberry/types/arguments.py,sha256=
|
|
208
|
-
strawberry/types/auto.py,sha256=
|
|
209
|
-
strawberry/types/base.py,sha256=
|
|
207
|
+
strawberry/types/arguments.py,sha256=CUPbicKRQ7Ln5EWaR2FBWRJsyL2KKYAMpc3ZEohLQ7c,11758
|
|
208
|
+
strawberry/types/auto.py,sha256=z_5hzmIM4AHGUAbRN9cWsF7XmKQZ1RB2vYU6iHtbbPQ,2978
|
|
209
|
+
strawberry/types/base.py,sha256=DPE5xJjH6R9sGI4FI9ifsJ-X3DazY9WwLOuUFM0AhE0,15221
|
|
210
210
|
strawberry/types/cast.py,sha256=fx86MkLW77GIximBAwUk5vZxSGwDqUA6XicXvz8EXwQ,916
|
|
211
|
-
strawberry/types/enum.py,sha256=
|
|
211
|
+
strawberry/types/enum.py,sha256=6DxtG2itr6ojArjbrIU8ZIp0c9fX0tzSw4MSvv7NXIw,6302
|
|
212
212
|
strawberry/types/execution.py,sha256=_Rl4akU174P_2mq3x1N1QTj0LgJn3CQ43hPFzN3rs_s,4075
|
|
213
|
-
strawberry/types/field.py,sha256=
|
|
213
|
+
strawberry/types/field.py,sha256=QpC4aVbAnd3AfiZCv2_vvbczhwGSpzG5_ZJ4QohTO5o,20681
|
|
214
214
|
strawberry/types/fields/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
215
|
-
strawberry/types/fields/resolver.py,sha256=
|
|
215
|
+
strawberry/types/fields/resolver.py,sha256=8MTBItygqpfowwdpYcPugrOTOcted-tUkLG8OGMlTjc,14679
|
|
216
216
|
strawberry/types/graphql.py,sha256=gXKzawwKiow7hvoJhq5ApNJOMUCnKmvTiHaKY5CK1Lw,867
|
|
217
217
|
strawberry/types/info.py,sha256=F-1AwVvxHEs2KF9Nw7dCML_Qx3B-iGu4tsYGQ16cK3k,4891
|
|
218
218
|
strawberry/types/lazy_type.py,sha256=dlP9VcMjZc9sdgriiQGzOZa0TToB6Ee7zpIP8h7TLC0,5079
|
|
219
|
-
strawberry/types/maybe.py,sha256=
|
|
220
|
-
strawberry/types/mutation.py,sha256=
|
|
219
|
+
strawberry/types/maybe.py,sha256=3WMD5D_K-vd-9oAN26uKDUIX-Nm2EGj1mcZItUpzMbA,1132
|
|
220
|
+
strawberry/types/mutation.py,sha256=xbHRMt1DApU0-zLtowYAHhtiUW8D0q786QdLQkIV9g8,11938
|
|
221
221
|
strawberry/types/nodes.py,sha256=RwZB43OT9BS3Cqjgq4AazqOfyq_y0GD2ysC86EDBv5U,5134
|
|
222
|
-
strawberry/types/object_type.py,sha256=
|
|
222
|
+
strawberry/types/object_type.py,sha256=XXAOH31KjHQ8-kVRplADGGhgixV99c1fu_1IdL9opvo,15321
|
|
223
223
|
strawberry/types/private.py,sha256=DhJs50XVGtOXlxWZFkRpMxQ5_6oki0-x_WQsV1bGUxk,518
|
|
224
|
-
strawberry/types/scalar.py,sha256=
|
|
224
|
+
strawberry/types/scalar.py,sha256=qSq7XOZh8LNP4GMsLWOOaxFPFg6m4fek9Ks-a8mfFOQ,6266
|
|
225
225
|
strawberry/types/type_resolver.py,sha256=fH2ZOK4dAGgu8AMPi-JAXe_kEAbvvw2MCYXqbpx-kTc,6529
|
|
226
|
-
strawberry/types/union.py,sha256
|
|
226
|
+
strawberry/types/union.py,sha256=xcpAWa_DdhbsQY9d_ewD4QfVhRk_UMUAC_pRG08F3KA,10233
|
|
227
227
|
strawberry/types/unset.py,sha256=7DVK-WWxVLo41agvavTvIbphE42BmY8UpGolXfasIvw,1682
|
|
228
228
|
strawberry/utils/__init__.py,sha256=wuuNvKjcMfE0l4lqrlC-cc0_SR4hV19gNBJ3Mcn7l3A,141
|
|
229
|
-
strawberry/utils/aio.py,sha256=
|
|
229
|
+
strawberry/utils/aio.py,sha256=iCAr6Qs9W9vLksWY4M9o-XRlR2JBwJlRW6g8rBoXqJk,2247
|
|
230
230
|
strawberry/utils/await_maybe.py,sha256=YdjfuzjDVjph0VH0WkwvU4ezsjl_fELnGrLC1_bvb_U,449
|
|
231
|
-
strawberry/utils/dataclasses.py,sha256=1wvVq0vgvjrRSamJ3CBJpkLu1KVweTmw5JLXmagdGes,856
|
|
232
231
|
strawberry/utils/deprecations.py,sha256=Yrp4xBzp36mQprH8qPHpPMhkCLm527q7XU7pP4aar_0,782
|
|
233
232
|
strawberry/utils/importer.py,sha256=NtTgNaNSW4TnlLo_S34nxXq14RxUAec-QlEZ0LON28M,629
|
|
234
|
-
strawberry/utils/inspect.py,sha256
|
|
233
|
+
strawberry/utils/inspect.py,sha256=091iT74K_Tmmu2lFHYz8FAq50SzDBuRCUR7nYm4QghA,3442
|
|
235
234
|
strawberry/utils/locate_definition.py,sha256=raABxyWE9MkhO5_w5tO8_xKHSZumRJCJt1QY1OgHO-M,1429
|
|
236
235
|
strawberry/utils/logging.py,sha256=U1cseHGquN09YFhFmRkiphfASKCyK0HUZREImPgVb0c,746
|
|
237
236
|
strawberry/utils/operation.py,sha256=ZgVOw3K2jQuLjNOYUHauF7itJD0QDNoPw9PBi0IYf6k,1234
|
|
238
237
|
strawberry/utils/str_converters.py,sha256=-eH1Cl16IO_wrBlsGM-km4IY0IKsjhjnSNGRGOwQjVM,897
|
|
239
|
-
strawberry/utils/typing.py,sha256=
|
|
240
|
-
strawberry_graphql-0.
|
|
241
|
-
strawberry_graphql-0.
|
|
242
|
-
strawberry_graphql-0.
|
|
243
|
-
strawberry_graphql-0.
|
|
244
|
-
strawberry_graphql-0.
|
|
238
|
+
strawberry/utils/typing.py,sha256=PbSNOU73U9rfyJE84E_Dl1i44weiOmdBYATI8DIbUFc,11857
|
|
239
|
+
strawberry_graphql-0.284.0.dist-info/METADATA,sha256=3AFBUam_s2RngFpJ9oaNWFs8iRl0eWqFFqyGVRFYRqk,7653
|
|
240
|
+
strawberry_graphql-0.284.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
241
|
+
strawberry_graphql-0.284.0.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
|
|
242
|
+
strawberry_graphql-0.284.0.dist-info/licenses/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
|
|
243
|
+
strawberry_graphql-0.284.0.dist-info/RECORD,,
|
strawberry/utils/dataclasses.py
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
from __future__ import annotations
|
|
2
|
-
|
|
3
|
-
import sys
|
|
4
|
-
from dataclasses import ( # type: ignore
|
|
5
|
-
_FIELD,
|
|
6
|
-
_FIELD_INITVAR,
|
|
7
|
-
_FIELDS,
|
|
8
|
-
_POST_INIT_NAME,
|
|
9
|
-
_set_new_attribute,
|
|
10
|
-
)
|
|
11
|
-
from typing import Any
|
|
12
|
-
|
|
13
|
-
from strawberry.ext.dataclasses.dataclasses import dataclass_init_fn
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
def add_custom_init_fn(cls: Any) -> None:
|
|
17
|
-
fields = [
|
|
18
|
-
f
|
|
19
|
-
for f in getattr(cls, _FIELDS).values()
|
|
20
|
-
if f._field_type in (_FIELD, _FIELD_INITVAR)
|
|
21
|
-
]
|
|
22
|
-
globals_ = sys.modules[cls.__module__].__dict__
|
|
23
|
-
|
|
24
|
-
_set_new_attribute(
|
|
25
|
-
cls,
|
|
26
|
-
"__init__",
|
|
27
|
-
dataclass_init_fn(
|
|
28
|
-
fields=fields,
|
|
29
|
-
frozen=False,
|
|
30
|
-
has_post_init=hasattr(cls, _POST_INIT_NAME),
|
|
31
|
-
self_name="__dataclass_self__" if "self" in fields else "self",
|
|
32
|
-
globals_=globals_,
|
|
33
|
-
),
|
|
34
|
-
)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
__all__ = ["add_custom_init_fn"]
|
|
File without changes
|
{strawberry_graphql-0.283.3.dist-info → strawberry_graphql-0.284.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{strawberry_graphql-0.283.3.dist-info → strawberry_graphql-0.284.0.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|