strawberry-graphql 0.220.0__py3-none-any.whl → 0.221.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/__init__.py +2 -0
- strawberry/field_extensions/input_mutation.py +1 -1
- strawberry/types/fields/resolver.py +1 -1
- strawberry/types/info.py +3 -3
- {strawberry_graphql-0.220.0.dist-info → strawberry_graphql-0.221.0.dist-info}/METADATA +1 -1
- {strawberry_graphql-0.220.0.dist-info → strawberry_graphql-0.221.0.dist-info}/RECORD +9 -9
- {strawberry_graphql-0.220.0.dist-info → strawberry_graphql-0.221.0.dist-info}/LICENSE +0 -0
- {strawberry_graphql-0.220.0.dist-info → strawberry_graphql-0.221.0.dist-info}/WHEEL +0 -0
- {strawberry_graphql-0.220.0.dist-info → strawberry_graphql-0.221.0.dist-info}/entry_points.txt +0 -0
strawberry/__init__.py
CHANGED
@@ -14,6 +14,7 @@ from .private import Private
|
|
14
14
|
from .scalars import ID
|
15
15
|
from .schema import Schema
|
16
16
|
from .schema_directive import schema_directive
|
17
|
+
from .types.info import Info
|
17
18
|
from .union import union
|
18
19
|
from .unset import UNSET
|
19
20
|
|
@@ -21,6 +22,7 @@ __all__ = [
|
|
21
22
|
"BasePermission",
|
22
23
|
"experimental",
|
23
24
|
"ID",
|
25
|
+
"Info",
|
24
26
|
"UNSET",
|
25
27
|
"lazy",
|
26
28
|
"LazyType",
|
@@ -155,7 +155,7 @@ class ReservedType(NamedTuple):
|
|
155
155
|
# Handle annotated arguments such as Private[str] and DirectiveValue[str]
|
156
156
|
return type_has_annotation(other, self.type)
|
157
157
|
else:
|
158
|
-
# Handle both concrete and generic types (i.e Info, and Info
|
158
|
+
# Handle both concrete and generic types (i.e Info, and Info)
|
159
159
|
return (
|
160
160
|
issubclass(origin, self.type)
|
161
161
|
if isinstance(origin, type)
|
strawberry/types/info.py
CHANGED
@@ -11,9 +11,9 @@ from typing import (
|
|
11
11
|
List,
|
12
12
|
Optional,
|
13
13
|
Type,
|
14
|
-
TypeVar,
|
15
14
|
Union,
|
16
15
|
)
|
16
|
+
from typing_extensions import TypeVar
|
17
17
|
|
18
18
|
from .nodes import convert_selections
|
19
19
|
|
@@ -29,8 +29,8 @@ if TYPE_CHECKING:
|
|
29
29
|
|
30
30
|
from .nodes import Selection
|
31
31
|
|
32
|
-
ContextType = TypeVar("ContextType")
|
33
|
-
RootValueType = TypeVar("RootValueType")
|
32
|
+
ContextType = TypeVar("ContextType", default=Any)
|
33
|
+
RootValueType = TypeVar("RootValueType", default=Any)
|
34
34
|
|
35
35
|
|
36
36
|
@dataclasses.dataclass
|
@@ -1,4 +1,4 @@
|
|
1
|
-
strawberry/__init__.py,sha256=
|
1
|
+
strawberry/__init__.py,sha256=NP_R8Benm6W-v3Qqj3MSPm_CMickSCJIMaW2sZZ5oGs,1104
|
2
2
|
strawberry/__main__.py,sha256=3U77Eu21mJ-LY27RG-JEnpbh6Z63wGOom4i-EoLtUcY,59
|
3
3
|
strawberry/aiohttp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
strawberry/aiohttp/handlers/__init__.py,sha256=7EeGIIwrgJYHAS9XJnZLfRGL_GHrligKm39rrVt7qDA,241
|
@@ -139,7 +139,7 @@ strawberry/federation/types.py,sha256=mM70g1aLgjplOc3SdtuJjy7NAKFLv35Z4BDC4s_j5u
|
|
139
139
|
strawberry/federation/union.py,sha256=QXeh-nhApqFtXa3To9MX_IwvtwErZBhWYnssUK7JB2E,1005
|
140
140
|
strawberry/field.py,sha256=2LvlnoQyRQHYcZV2Yy1E-2DYKXpOROUa8jyWgxG2QsI,18883
|
141
141
|
strawberry/field_extensions/__init__.py,sha256=0z6RG9jEO7jpAuyEaQhRI5A_30rdcvsBM0qMhLs8y2s,96
|
142
|
-
strawberry/field_extensions/input_mutation.py,sha256=
|
142
|
+
strawberry/field_extensions/input_mutation.py,sha256=a2zK97Fc5biqBt2ZlUPEPTQgMTRx6sJCSd3hSsjLSxI,2650
|
143
143
|
strawberry/file_uploads/__init__.py,sha256=v2-6FGBqnTnMPSUTFOiXpIutDMl-ga0PFtw5tKlcagk,50
|
144
144
|
strawberry/file_uploads/scalars.py,sha256=jccJh-h7t4naRiDzrszGoYsp95zdF30c7y5Ht0Zrk_s,131
|
145
145
|
strawberry/file_uploads/utils.py,sha256=U8gk1aHjWOBa_Opyvc47h6OpYToGq1QiSnEkI2kphdo,1112
|
@@ -220,9 +220,9 @@ strawberry/type.py,sha256=KDztUFxVju4CEPPRzZYcyHtDNRrkFYxK-mI99GcqCgU,6511
|
|
220
220
|
strawberry/types/__init__.py,sha256=APb1Cjy6bxqFxIfDfempP6eb9NE3LYDwQ3gX7r07lXI,139
|
221
221
|
strawberry/types/execution.py,sha256=qCqDMJgdAFwdc3uPzVTAKsZlu6fgxPLrFwkoX_PFBq8,2775
|
222
222
|
strawberry/types/fields/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
223
|
-
strawberry/types/fields/resolver.py,sha256=
|
223
|
+
strawberry/types/fields/resolver.py,sha256=Lwy2XVKnTbDyibk9pPsWsunlm22akXjy-gKCg22Tp1A,14130
|
224
224
|
strawberry/types/graphql.py,sha256=3SWZEsa0Zy1eVW6vy75BnB7t9_lJVi6TBV3_1j3RNBs,687
|
225
|
-
strawberry/types/info.py,sha256=
|
225
|
+
strawberry/types/info.py,sha256=kCsXvsTxrHubS936eOOxp2PNLWNqLRCPDckpVDspEk4,2827
|
226
226
|
strawberry/types/nodes.py,sha256=2ZVa1HOFgHZ96QTfz3QEr1fufi6Sz9hAzcZxsN7KtGE,5026
|
227
227
|
strawberry/types/type_resolver.py,sha256=F0z_geS4VEun8EhD571LaTgI8ypjCeLfp910gF0Q3MY,6280
|
228
228
|
strawberry/types/types.py,sha256=t5MOV4xiutPL2Ka02u3Z2V3eqy2R2JPYQxsqCnY2Aqk,7139
|
@@ -241,8 +241,8 @@ strawberry/utils/logging.py,sha256=flS7hV0JiIOEdXcrIjda4WyIWix86cpHHFNJL8gl1y4,7
|
|
241
241
|
strawberry/utils/operation.py,sha256=Um-tBCPl3_bVFN2Ph7o1mnrxfxBes4HFCj6T0x4kZxE,1135
|
242
242
|
strawberry/utils/str_converters.py,sha256=avIgPVLg98vZH9mA2lhzVdyyjqzLsK2NdBw9mJQ02Xk,813
|
243
243
|
strawberry/utils/typing.py,sha256=Qxz1LwyVsNGV7LQW1dFsaUbsswj5LHBOdKLMom5eyEA,13491
|
244
|
-
strawberry_graphql-0.
|
245
|
-
strawberry_graphql-0.
|
246
|
-
strawberry_graphql-0.
|
247
|
-
strawberry_graphql-0.
|
248
|
-
strawberry_graphql-0.
|
244
|
+
strawberry_graphql-0.221.0.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
|
245
|
+
strawberry_graphql-0.221.0.dist-info/METADATA,sha256=0KsXiYNdNh45hcDBa7AElQz56ODfRQiMeP8FNjXBaF4,7740
|
246
|
+
strawberry_graphql-0.221.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
247
|
+
strawberry_graphql-0.221.0.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
|
248
|
+
strawberry_graphql-0.221.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{strawberry_graphql-0.220.0.dist-info → strawberry_graphql-0.221.0.dist-info}/entry_points.txt
RENAMED
File without changes
|