diff options
author | Vincent Fazio <vfazio@gmail.com> | 2023-01-03 12:39:13 -0500 |
---|---|---|
committer | sqla-tester <sqla-tester@sqlalchemy.org> | 2023-01-03 12:39:13 -0500 |
commit | 40df5ecb410660fdf96a750d626d4f2f5b2d98ea (patch) | |
tree | 3d35c5b8f558da6885de148c2a4e19dd6cfe173d /docs | |
parent | 7cda8187d63c0c64c0a08b8763c2d41c0f970032 (diff) | |
download | alembic-40df5ecb410660fdf96a750d626d4f2f5b2d98ea.tar.gz |
add overload stubs for proxied classes
<!-- Provide a general summary of your proposed changes in the Title field above -->
### Description
Closes #1146
Closes #1147
<!-- Describe your changes in detail -->
Overloaded functions would not have type stubs generated by the stub generator for proxied classes. Now they will.
### Checklist
<!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once)
-->
This pull request is:
- [ ] A documentation / typographical error fix
- Good to go, no issue or tests are needed
- [x] A short code fix
- please include the issue number, and create an issue if none exists, which
must include a complete example of the issue. one line code fixes without an
issue and demonstration will not be accepted.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests. one line code fixes without tests will not be accepted.
- [ ] A new feature implementation
- please include the issue number, and create an issue if none exists, which must
include a complete example of how the feature would look.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.
Closes: #1148
Pull-request: https://github.com/sqlalchemy/alembic/pull/1148
Pull-request-sha: ed3c28cc78e57314b7a4e533d77108efc6751949
Change-Id: I7c0ee9d333015174ee6ab754909748f745af2ff9
Diffstat (limited to 'docs')
-rw-r--r-- | docs/build/unreleased/1147.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/build/unreleased/1147.rst b/docs/build/unreleased/1147.rst new file mode 100644 index 0000000..5f6f7de --- /dev/null +++ b/docs/build/unreleased/1147.rst @@ -0,0 +1,8 @@ +.. change:: + :tags: bug, typing + :tickets: 1146, 1147 + + Fixed typing definitions for :meth:`.EnvironmentContext.get_x_argument`. + + Typing stubs are now generated for overloaded proxied methods such as + :meth:`.EnvironmentContext.get_x_argument`.
\ No newline at end of file |