We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
it's only in Python 3.10, the ability to make our own types that are like tuples:
https://www.python.org/dev/peps/pep-0646/
what we would want is:
stmt: Select[User, str, int] = select(User, Address.name, Address.id).join_from(User, Address) result: Result[User, str, int] = session.execute(stmt) for row: Row[User, str, int] in result: # ...
that is, every ReturnsRows class as well as Result and Row become some kind of covariant variadic generic. is that every word ?
The text was updated successfully, but these errors were encountered:
here's from the original discussion for pep 646: python/typing#193 (comment)
Sorry, something went wrong.
superseded by sqlalchemy/sqlalchemy#7516 for 2.0
we could have transferred it. In any case I think we can just close this
No branches or pull requests
it's only in Python 3.10, the ability to make our own types that are like tuples:
https://www.python.org/dev/peps/pep-0646/
what we would want is:
that is, every ReturnsRows class as well as Result and Row become some kind of covariant variadic generic. is that every word ?
The text was updated successfully, but these errors were encountered: