]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add new script to sync test files adding future annotation
authorFederico Caselli <cfederico87@gmail.com>
Sat, 26 Nov 2022 18:24:49 +0000 (19:24 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Sat, 26 Nov 2022 18:25:37 +0000 (19:25 +0100)
commit25c2b7dd105a6622eff2c7631d3c2d6eb978dc1f
tree46ae527de593ddcbfcf115ca7d61edad9aa083b5
parent34e29f7b225cf1305e151af9d03ef95f42a9dbcc
Add new script to sync test files adding future annotation

Create a new test file test_tm_future_annotations_sync.py that's obtained
from test_tm_future_annotations.py by using the new script sync_test_files.
This files includes the ``from __future__ import annotations``

It also turns out we had some bugs in there and we can also support some
additional typing things

Change-Id: Iac005df206d45a55345d9d88d67a80ce799d449f
lib/sqlalchemy/orm/decl_base.py
lib/sqlalchemy/orm/descriptor_props.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/util/typing.py
test/orm/declarative/test_tm_future_annotations.py
test/orm/declarative/test_tm_future_annotations_sync.py [new file with mode: 0644]
test/orm/declarative/test_typed_mapping.py
tools/format_docs_code.py
tools/sync_test_files.py [new file with mode: 0644]
tox.ini