FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Typo in error message · Highfire1/sqlmodel@9c30951 · GitHub

Repository navigation

Commit 9c30951

Browse files
authored
Typo in error message
1 parent dcf4f58 commit 9c30951

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sqlmodel/_compat.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def get_type_from_field(field: Any) -> Any:
193193
# Non optional unions are not allowed
194194
if bases[0] is not NoneType and bases[1] is not NoneType:
195195
raise ValueError(
196-
"Cannot have a (non-optional) union as a SQLlchemy field"
196+
"Cannot have a (non-optional) union as a SQLAlchemy field"
197197
)
198198
# Optional unions are allowed
199199
return bases[0] if bases[0] is not NoneType else bases[1]

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL