-
-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
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
overload stubs missing for get_x_argument #1146
Comments
vfazio
added a commit
to vfazio/alembic
that referenced
this issue
Dec 29, 2022
Fixes: sqlalchemy#1146 Signed-off-by: Vincent Fazio <vfazio@gmail.com>
3 tasks
Thanks for reporting |
vfazio
added a commit
to vfazio/alembic
that referenced
this issue
Dec 30, 2022
Fixes: sqlalchemy#1146 Signed-off-by: Vincent Fazio <vfazio@gmail.com>
vfazio
added a commit
to vfazio/alembic
that referenced
this issue
Dec 30, 2022
Fixes: sqlalchemy#1146 Signed-off-by: Vincent Fazio <vfazio@gmail.com>
vfazio
added a commit
to vfazio/alembic
that referenced
this issue
Dec 30, 2022
Fixes: sqlalchemy#1146 Signed-off-by: Vincent Fazio <vfazio@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The
context.pyi
does not have stubs for the function overloads specified inenvironment.py
This will cause typing errors if trying to use:
Since the default typing for the function allows it to return
List[str]
even though specifyingas_dictionary
should narrow the return type.Expected behavior
There should be no typing error once
@overload
stubs are addedTo Reproduce
Please try to provide a Minimal, Complete, and Verifiable example, with the migration script and/or the SQLAlchemy tables or models involved.
See also Reporting Bugs on the website.
# Insert code here
Error
Versions.
Additional context
Have a nice day!
The text was updated successfully, but these errors were encountered: