]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Type annotations for sqlalchemy.orm.mapped_collection
authorMaksim Latysh <m.latysh@godeltech.com>
Tue, 24 Jan 2023 16:03:44 +0000 (11:03 -0500)
committersqla-tester <sqla-tester@sqlalchemy.org>
Tue, 24 Jan 2023 16:03:44 +0000 (11:03 -0500)
commit173e4164834e7ac5c77184a425a32f9afd088af4
tree88c1477ae4b277870b98808c3e70caacd8f73065
parent4d2f24e524c99d8255f451476679f5fa93647ad4
Type annotations for sqlalchemy.orm.mapped_collection

<!-- Provide a general summary of your proposed changes in the Title field above -->

### Description
<!-- Describe your changes in detail -->
An attempt to annotate lib/sqlalchemy/orm/mapped_collection.py with type hints (issue https://github.com/sqlalchemy/sqlalchemy/issues/6810)

### 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
- [ ] 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: #9140
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/9140
Pull-request-sha: facb4717134943dd651905f7c72618eb66a9eca5

Change-Id: I0fb80e2ea7ed2247c494487fb6c8d72efb4e9802
lib/sqlalchemy/orm/mapped_collection.py