strawberry-graphql 0.262.2__py3-none-any.whl → 0.262.4__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/experimental/pydantic/_compat.py +6 -2
- {strawberry_graphql-0.262.2.dist-info → strawberry_graphql-0.262.4.dist-info}/METADATA +2 -2
- {strawberry_graphql-0.262.2.dist-info → strawberry_graphql-0.262.4.dist-info}/RECORD +6 -6
- {strawberry_graphql-0.262.2.dist-info → strawberry_graphql-0.262.4.dist-info}/LICENSE +0 -0
- {strawberry_graphql-0.262.2.dist-info → strawberry_graphql-0.262.4.dist-info}/WHEEL +0 -0
- {strawberry_graphql-0.262.2.dist-info → strawberry_graphql-0.262.4.dist-info}/entry_points.txt +0 -0
@@ -91,6 +91,10 @@ ATTR_TO_TYPE_MAP_Pydantic_V2 = {
|
|
91
91
|
"SecretStr": str,
|
92
92
|
"SecretBytes": bytes,
|
93
93
|
"AnyUrl": str,
|
94
|
+
"AnyHttpUrl": str,
|
95
|
+
"HttpUrl": str,
|
96
|
+
"PostgresDsn": str,
|
97
|
+
"RedisDsn": str,
|
94
98
|
}
|
95
99
|
|
96
100
|
ATTR_TO_TYPE_MAP_Pydantic_Core_V2 = {
|
@@ -263,8 +267,8 @@ class PydanticCompat:
|
|
263
267
|
if IS_PYDANTIC_V2:
|
264
268
|
from typing_extensions import get_args, get_origin
|
265
269
|
|
266
|
-
from pydantic.
|
267
|
-
from pydantic.
|
270
|
+
from pydantic.v1.typing import is_new_type
|
271
|
+
from pydantic.v1.utils import lenient_issubclass, smart_deepcopy
|
268
272
|
|
269
273
|
def new_type_supertype(type_: Any) -> Any:
|
270
274
|
return type_.__supertype__
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: strawberry-graphql
|
3
|
-
Version: 0.262.
|
3
|
+
Version: 0.262.4
|
4
4
|
Summary: A library for creating GraphQL APIs
|
5
5
|
License: MIT
|
6
6
|
Keywords: graphql,api,rest,starlette,async
|
@@ -46,7 +46,7 @@ Requires-Dist: libcst (>=0.4.7) ; extra == "debug" or extra == "debug-server" or
|
|
46
46
|
Requires-Dist: litestar (>=2) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "litestar")
|
47
47
|
Requires-Dist: opentelemetry-api (<2) ; extra == "opentelemetry"
|
48
48
|
Requires-Dist: opentelemetry-sdk (<2) ; extra == "opentelemetry"
|
49
|
-
Requires-Dist: packaging (>=
|
49
|
+
Requires-Dist: packaging (>=23)
|
50
50
|
Requires-Dist: pydantic (>1.6.1) ; extra == "pydantic"
|
51
51
|
Requires-Dist: pygments (>=2.3,<3.0) ; extra == "debug-server" or extra == "cli"
|
52
52
|
Requires-Dist: pyinstrument (>=4.0.0) ; extra == "pyinstrument"
|
@@ -73,7 +73,7 @@ strawberry/exceptions/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
|
|
73
73
|
strawberry/exceptions/utils/source_finder.py,sha256=kqSjCGIlnkD0DuCBYElqConp9wAvAyQ8kIHKgnmupjY,20123
|
74
74
|
strawberry/experimental/__init__.py,sha256=2HP5XtxL8ZKsPp4EDRAbMCqiP7p2V4Cca278JUGxnt0,102
|
75
75
|
strawberry/experimental/pydantic/__init__.py,sha256=UpO8wHNXGpoCYp34YStViInO1tsrGsMyhTVubTpJY7Y,255
|
76
|
-
strawberry/experimental/pydantic/_compat.py,sha256=
|
76
|
+
strawberry/experimental/pydantic/_compat.py,sha256=g8qjI5w6pLosse8JDIEUBe8tGl-9I18qvDGrD1loBss,8459
|
77
77
|
strawberry/experimental/pydantic/conversion.py,sha256=210v83ttSVhBlNM52to-x8s80V9WuOPez94qd5yDOD4,4224
|
78
78
|
strawberry/experimental/pydantic/conversion_types.py,sha256=jf7PR5Q7hgo4J_AuxBK-BVj-8MC6vIg1k1pUfGfGTL8,925
|
79
79
|
strawberry/experimental/pydantic/error_type.py,sha256=NdiaAv2zlaNKfzw0vGgG0lOLTfXAM8gQMk2LsfE7bI4,4555
|
@@ -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.262.
|
232
|
-
strawberry_graphql-0.262.
|
233
|
-
strawberry_graphql-0.262.
|
234
|
-
strawberry_graphql-0.262.
|
235
|
-
strawberry_graphql-0.262.
|
231
|
+
strawberry_graphql-0.262.4.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
|
232
|
+
strawberry_graphql-0.262.4.dist-info/METADATA,sha256=UW-s70SugWdNT8f4jjgxM1n_kjDnEu1hMBCYEDF6mF4,7679
|
233
|
+
strawberry_graphql-0.262.4.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
234
|
+
strawberry_graphql-0.262.4.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
|
235
|
+
strawberry_graphql-0.262.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{strawberry_graphql-0.262.2.dist-info → strawberry_graphql-0.262.4.dist-info}/entry_points.txt
RENAMED
File without changes
|