| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The `Column` annotation of `sa column` was missing an type argument
There was a problem hiding this comment.
Thanks for the contribution @AlanBogarin!
This looks good to me, but I'll leave the final review & decision up to Tiangolo.
Sorry, something went wrong.
There was a problem hiding this comment.
Makes sense, thank you! ☕
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Type checker throw partially unknown error when used in strict mode (Pylance)
When I locally edited that line, everything was correct
the Column type needs a type argument, assign it Any to accept all instances of the object
origin: sqlmodel.main.Field
info: Column expected an argument
proposed change
If you want to see it yourself (be sure to set the type checker to strict)
There is a better change, but it is not possible because Column was defined in sqlalchemy