From e7c62fc9d9c1ab3287c6ee06c742f96ed299a7f0 Mon Sep 17 00:00:00 2001 From: Anderson T Date: Tue, 4 Jun 2024 16:56:52 -0700 Subject: [PATCH] =?utf8?q?=E2=9C=8F=EF=B8=8F=20Fix=20typo=20in=20`sqlmodel?= =?utf8?q?/=5Fcompat.py`=20(#950)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- sqlmodel/_compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlmodel/_compat.py b/sqlmodel/_compat.py index d42a6242..4018d1bb 100644 --- a/sqlmodel/_compat.py +++ b/sqlmodel/_compat.py @@ -194,7 +194,7 @@ if IS_PYDANTIC_V2: # Non optional unions are not allowed if bases[0] is not NoneType and bases[1] is not NoneType: raise ValueError( - "Cannot have a (non-optional) union as a SQLlchemy field" + "Cannot have a (non-optional) union as a SQLAlchemy field" ) # Optional unions are allowed return bases[0] if bases[0] is not NoneType else bases[1] -- 2.47.2