]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
General improvement on annotated declarative
authorFederico Caselli <cfederico87@gmail.com>
Tue, 19 Nov 2024 22:12:51 +0000 (23:12 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 12 Dec 2024 21:06:48 +0000 (22:06 +0100)
commite6b0b421d60ecf660cf3872f3f32dd2b7a739b59
tree7637b4d2ba9a1e00499e3ee58fa220216dd413a6
parent42fe1109c62008f2cd509ef402152704efb9ddb1
General improvement on annotated declarative

Fix issue that resulted in inconsistent handing of unions
depending on how they were declared

Consistently support TypeAliasType. This has required a revision
of the implementation added in #11305 to have a consistent
behavior.

References: #11944
References: #11955
References: #11305
Change-Id: Iffc34fd42b9769f73ddb4331bd59b6b37391635d
16 files changed:
doc/build/changelog/unreleased_20/11944.rst [new file with mode: 0644]
doc/build/changelog/unreleased_20/11955.rst [new file with mode: 0644]
doc/build/orm/declarative_tables.rst
lib/sqlalchemy/orm/decl_api.py
lib/sqlalchemy/orm/decl_base.py
lib/sqlalchemy/orm/descriptor_props.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/sql/sqltypes.py
lib/sqlalchemy/util/typing.py
test/base/test_typing_utils.py [new file with mode: 0644]
test/base/test_utils.py
test/orm/declarative/test_tm_future_annotations.py
test/orm/declarative/test_tm_future_annotations_sync.py
test/orm/declarative/test_typed_mapping.py
tools/format_docs_code.py