]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Type annotations for sqlalchemy.ext.horizontal_shard
authorGleb Kisenkov <g.kisenkov@gmail.com>
Thu, 8 Dec 2022 22:48:55 +0000 (17:48 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 12 Dec 2022 00:10:19 +0000 (19:10 -0500)
commite0eea374c2df82f879d69b99ba2230c743bbae27
tree596bf178988bf6258e0b200abc388bae3d5385cf
parent184508afbb7656c4f51d98695bbeeeec9aae9b87
Type annotations for sqlalchemy.ext.horizontal_shard

The horizontal sharding extension is now pep-484 typed. Thanks to Gleb
Kisenkov for their efforts on this.

Closes: #8948
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/8948
Pull-request-sha: e40e768492685aa9ce57c4762c571f935e3fd3c7

Change-Id: I2374e174c9433846c453c20a37ec5e5584fd3b31
doc/build/changelog/unreleased_20/horiz_typing.rst [new file with mode: 0644]
lib/sqlalchemy/ext/horizontal_shard.py
lib/sqlalchemy/orm/session.py
test/ext/test_horizontal_shard.py