| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -193,7 +193,7 @@ def get_type_from_field(field: Any) -> Any: | |||
| 193 | 193 | # Non optional unions are not allowed | |
| 194 | 194 | if bases[0] is not NoneType and bases[1] is not NoneType: | |
| 195 | 195 | raise ValueError( | |
| 196 | - "Cannot have a (non-optional) union as a SQLlchemy field" | ||
| 196 | + "Cannot have a (non-optional) union as a SQLAlchemy field" | ||
| 197 | 197 | ) | |
| 198 | 198 | # Optional unions are allowed | |
| 199 | 199 | return bases[0] if bases[0] is not NoneType else bases[1] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments