| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
LGTM!
SQLAlchemy's tuple_ returns Tuple imported as from .elements import Tuple.
@kakeruzoku, thanks!
Sorry, something went wrong.
|
Any ETA on when this will be merged? (my type-checker just complained about this, and I have imported tuple_ from sqlalchemy directly until this is fixed). Seems like a simple conflict due to the recent python version upgrade. I can also create a new PR for this change (with the conflict resolved) if the original author is not available. |
Sorry, something went wrong.
|
I fixed the conflict. |
Sorry, something went wrong.
|
Any progress to be merged? I've encounter the type issue. |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks for the PR, looks good! Merging now 馃檹
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixed an issue where sqlmodel.tuple_ returns <class 'sqlalchemy.sql.elements.Tuple'> but the type hint points to <class 'tuple'>.
The current workaround for this mistake, # type: ignore[return-value], has been removed.
sqlmodel/sqlmodel/sql/expression.py
Line 195 in 5c1b89a