strawberry-graphql 0.236.2__py3-none-any.whl → 0.237.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.
@@ -474,8 +474,13 @@ def strawberry_pydantic_class_callback(ctx: ClassDefContext) -> None:
474
474
  else:
475
475
  extra = {}
476
476
 
477
- if PYDANTIC_VERSION and PYDANTIC_VERSION >= (2, 7, 0):
478
- extra["api"] = ctx.api
477
+ if PYDANTIC_VERSION:
478
+ if PYDANTIC_VERSION >= (2, 7, 0):
479
+ extra["api"] = ctx.api
480
+ if PYDANTIC_VERSION >= (2, 8, 0):
481
+ # Based on pydantic's default value
482
+ # https://github.com/pydantic/pydantic/pull/9606/files#diff-469037bbe55bbf9aa359480a16040d368c676adad736e133fb07e5e20d6ac523R1066
483
+ extra["force_typevars_invariant"] = False
479
484
 
480
485
  add_method(
481
486
  ctx,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: strawberry-graphql
3
- Version: 0.236.2
3
+ Version: 0.237.0
4
4
  Summary: A library for creating GraphQL APIs
5
5
  Home-page: https://strawberry.rocks/
6
6
  License: MIT
@@ -95,7 +95,7 @@ strawberry/ext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
95
95
  strawberry/ext/dataclasses/LICENSE,sha256=WZgm35K_3NJwLqxpEHJJi7CWxVrwTumEz5D3Dtd7WnA,13925
96
96
  strawberry/ext/dataclasses/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
97
97
  strawberry/ext/dataclasses/dataclasses.py,sha256=fshCPQm1o4q1AwzmQzdlBIQ_JUNnwSlvBfsLZ0zIHuk,2299
98
- strawberry/ext/mypy_plugin.py,sha256=cbIwfDVZl-Nhj_X0ybJnnHIyUt5dBZSDY49Gs3Px-EE,19740
98
+ strawberry/ext/mypy_plugin.py,sha256=AO4Cw55V8mcMtsKsIyGZkAAmeNprlvzR8NVL2CNAYnc,20098
99
99
  strawberry/extensions/__init__.py,sha256=SZ-YEMnxAzoDZFo-uHXMHOaY_PPkYm1muPpK4ccJ3Xk,1248
100
100
  strawberry/extensions/add_validation_rules.py,sha256=abkOaXG-unAZj2xL2sspeUXpZKBCpj5Kr5h7TreN4gM,1338
101
101
  strawberry/extensions/base_extension.py,sha256=pQdN06K14dtWl_nxCIE4DBbGaB6mzxvidRdwNcDwZj8,2068
@@ -248,8 +248,8 @@ strawberry/utils/logging.py,sha256=U1cseHGquN09YFhFmRkiphfASKCyK0HUZREImPgVb0c,7
248
248
  strawberry/utils/operation.py,sha256=SSXxN-vMqdHO6W2OZtip-1z7y4_A-eTVFdhDvhKeLCk,1193
249
249
  strawberry/utils/str_converters.py,sha256=KGd7QH90RevaJjH6SQEkiVVsb8KuhJr_wv5AsI7UzQk,897
250
250
  strawberry/utils/typing.py,sha256=tUHHX2YTGX417EEQHB6j0B8-p-fg31ZI8csc9SUoq2I,14260
251
- strawberry_graphql-0.236.2.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
252
- strawberry_graphql-0.236.2.dist-info/METADATA,sha256=FwItEhdLmHf_nC9kB_rc4O95eHbtRIsHj-b4X7OSi5E,7821
253
- strawberry_graphql-0.236.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
254
- strawberry_graphql-0.236.2.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
255
- strawberry_graphql-0.236.2.dist-info/RECORD,,
251
+ strawberry_graphql-0.237.0.dist-info/LICENSE,sha256=m-XnIVUKqlG_AWnfi9NReh9JfKhYOB-gJfKE45WM1W8,1072
252
+ strawberry_graphql-0.237.0.dist-info/METADATA,sha256=9up1eJlJS-ceE-TwqJp_j7_SXzOZywH7AKti84ylLG4,7821
253
+ strawberry_graphql-0.237.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
254
+ strawberry_graphql-0.237.0.dist-info/entry_points.txt,sha256=Nk7-aT3_uEwCgyqtHESV9H6Mc31cK-VAvhnQNTzTb4k,49
255
+ strawberry_graphql-0.237.0.dist-info/RECORD,,