]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
implement column._merge()
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 16 Jul 2022 20:19:15 +0000 (16:19 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 16 Jul 2022 21:41:09 +0000 (17:41 -0400)
commit26c0e8e1846a4e6ac05c15a1ad188a5655b72edb
treed05ce7944e0c2107acd7457e1b086a8622e1d1cc
parent6104c163eb58e35e46b0bb6a237e824ec1ee1d15
implement column._merge()

this takes the user-defined args of one Column and merges
them into the not-user-defined args of another Column.

Implemented within the pep-593 column transfer operation
to begin to make this new feature more robust.

work may still be needed for constraints etc. but
in theory everything from the left side annotated column
should take effect for the right side if not otherwise
specified on the right.

Change-Id: I57eb37ed6ceb4b60979a35cfc4b63731d990911d
lib/sqlalchemy/orm/_orm_constructors.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/sql/schema.py
test/orm/declarative/test_typed_mapping.py
test/sql/test_metadata.py