strawberry-graphql 0.231.0__py3-none-any.whl → 0.232.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/field.py +1 -1
- strawberry/utils/typing.py +6 -0
- {strawberry_graphql-0.231.0.dist-info → strawberry_graphql-0.232.0.dist-info}/METADATA +1 -1
- {strawberry_graphql-0.231.0.dist-info → strawberry_graphql-0.232.0.dist-info}/RECORD +7 -7
- {strawberry_graphql-0.231.0.dist-info → strawberry_graphql-0.232.0.dist-info}/LICENSE +0 -0
- {strawberry_graphql-0.231.0.dist-info → strawberry_graphql-0.232.0.dist-info}/WHEEL +0 -0
- {strawberry_graphql-0.231.0.dist-info → strawberry_graphql-0.232.0.dist-info}/entry_points.txt +0 -0
strawberry/field.py
CHANGED
@@ -49,7 +49,7 @@ T = TypeVar("T")
|
|
49
49
|
_RESOLVER_TYPE = Union[
|
50
50
|
StrawberryResolver[T],
|
51
51
|
Callable[..., T],
|
52
|
-
Callable[..., Coroutine[
|
52
|
+
Callable[..., Coroutine[Any, Any, T]],
|
53
53
|
Callable[..., Awaitable[T]],
|
54
54
|
"staticmethod[Any, T]",
|
55
55
|
"classmethod[Any, Any, T]",
|
strawberry/utils/typing.py
CHANGED
@@ -278,6 +278,12 @@ def _get_namespace_from_ast(
|
|
278
278
|
|
279
279
|
for elt in cast(ast.Tuple, expr_slice).elts:
|
280
280
|
extra.update(_get_namespace_from_ast(elt, globalns, localns))
|
281
|
+
elif (
|
282
|
+
isinstance(expr, ast.Subscript)
|
283
|
+
and isinstance(expr.value, ast.Name)
|
284
|
+
and expr.value.id in {"list", "List"}
|
285
|
+
):
|
286
|
+
extra.update(_get_namespace_from_ast(expr.slice, globalns, localns))
|
281
287
|
elif (
|
282
288
|
isinstance(expr, ast.Subscript)
|
283
289
|
and isinstance(expr.value, ast.Name)
|
@@ -138,7 +138,7 @@ strawberry/federation/schema_directive.py,sha256=V_8ytK_cbVoVRhFle0o9DTQkrP1k-xw
|
|
138
138
|
strawberry/federation/schema_directives.py,sha256=Awb-BqICDptYtDNRF3BUNnbNcrsSTDN8AWAwKxVZ3UQ,6139
|
139
139
|
strawberry/federation/types.py,sha256=mM70g1aLgjplOc3SdtuJjy7NAKFLv35Z4BDC4s_j5us,301
|
140
140
|
strawberry/federation/union.py,sha256=QXeh-nhApqFtXa3To9MX_IwvtwErZBhWYnssUK7JB2E,1005
|
141
|
-
strawberry/field.py,sha256=
|
141
|
+
strawberry/field.py,sha256=29EjOTMHz7Zs_0fDG8EsIbvhW2kHU5PbRnYzKVhmlwg,18887
|
142
142
|
strawberry/field_extensions/__init__.py,sha256=0z6RG9jEO7jpAuyEaQhRI5A_30rdcvsBM0qMhLs8y2s,96
|
143
143
|
strawberry/field_extensions/input_mutation.py,sha256=a2zK97Fc5biqBt2ZlUPEPTQgMTRx6sJCSd3hSsjLSxI,2650
|
144
144
|
strawberry/file_uploads/__init__.py,sha256=v2-6FGBqnTnMPSUTFOiXpIutDMl-ga0PFtw5tKlcagk,50
|
@@ -244,9 +244,9 @@ strawberry/utils/inspect.py,sha256=6z-tJpiWWm6E4-O6OUfhu689W9k1uY0m3FDwAfVCiNs,2
|
|
244
244
|
strawberry/utils/logging.py,sha256=flS7hV0JiIOEdXcrIjda4WyIWix86cpHHFNJL8gl1y4,713
|
245
245
|
strawberry/utils/operation.py,sha256=Um-tBCPl3_bVFN2Ph7o1mnrxfxBes4HFCj6T0x4kZxE,1135
|
246
246
|
strawberry/utils/str_converters.py,sha256=avIgPVLg98vZH9mA2lhzVdyyjqzLsK2NdBw9mJQ02Xk,813
|
247
|
-
strawberry/utils/typing.py,sha256=
|
248
|
-
strawberry_graphql-0.
|
249
|
-
strawberry_graphql-0.
|
250
|
-
strawberry_graphql-0.
|
251
|
-
strawberry_graphql-0.
|
252
|
-
strawberry_graphql-0.
|
247
|
+
strawberry/utils/typing.py,sha256=K31YP0DftNDBhsk1yhW0BmYoEegU8nWOD26dvkRx2Xo,13717
|
248
|
+
strawberry_graphql-0.232.0.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
|
249
|
+
strawberry_graphql-0.232.0.dist-info/METADATA,sha256=pIsxpHuJ165j_6NJGb__iaPuvA96f5hjLtUZWydkZX8,7821
|
250
|
+
strawberry_graphql-0.232.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
251
|
+
strawberry_graphql-0.232.0.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
|
252
|
+
strawberry_graphql-0.232.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{strawberry_graphql-0.231.0.dist-info → strawberry_graphql-0.232.0.dist-info}/entry_points.txt
RENAMED
File without changes
|