From 468e9e3d7e42fa6fda59b82b253a5329c783d3e2 Mon Sep 17 00:00:00 2001 From: Sebastian Bayer Date: Thu, 17 Aug 2023 13:30:45 +0200 Subject: [PATCH] generalize pydantic version warning 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build/orm/dataclasses.rst b/doc/build/orm/dataclasses.rst index 12cb3ec376..b7d0bee431 100644 --- a/doc/build/orm/dataclasses.rst +++ b/doc/build/orm/dataclasses.rst @@ -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. -- 2.39.5