]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
generalize pydantic version warning 10249/head
authorSebastian Bayer <BayerSe@gmail.com>
Thu, 17 Aug 2023 11:30:45 +0000 (13:30 +0200)
committerGitHub <noreply@github.com>
Thu, 17 Aug 2023 11:30:45 +0000 (13:30 +0200)
Pydantic 1.x and 2.x both have compatibility issues with sqlalchemy, which we denote by removing the restriction on the 1.x version of pydantic

doc/build/orm/dataclasses.rst

index 12cb3ec3760bc61b5ec6ead4d50cfa8c4b4b6b5e..b7d0bee43138851ce3b44722f8cc9f08266d7d77 100644 (file)
@@ -530,7 +530,7 @@ Integrating with Alternate Dataclass Providers such as Pydantic
 
 .. warning::
 
-    The dataclass layer of Pydantic version 1.x is **not fully compatible** with
+    The dataclass layer of Pydantic is **not fully compatible** with
     SQLAlchemy's class instrumentation without additional internal changes,
     and many features such as related collections may not work correctly.