]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add hash to field-like methods
authorFederico Caselli <cfederico87@gmail.com>
Fri, 11 Oct 2024 19:20:15 +0000 (21:20 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Sat, 12 Oct 2024 08:44:05 +0000 (10:44 +0200)
commitc14111b5bb2c624dd0bcb677fc3c9d811b46a2e7
tree659cf2c4c6c4b6046cec87f7903800247701130c
parent2892aaa108c3fb9d703083579abea938a1ea75a3
Add hash to field-like methods

Added the dataclass field ``hash`` parameter to the orm field-like methods,
like :meth:`_orn.mapped_column`, :meth:`_orm.relationship`, etc.

Fixes: #11923
Change-Id: I80220f6dcd9c42f465d8a4c4ae2e4efa45279ecc
doc/build/changelog/unreleased_20/11923.rst [new file with mode: 0644]
lib/sqlalchemy/ext/associationproxy.py
lib/sqlalchemy/orm/_orm_constructors.py
lib/sqlalchemy/orm/interfaces.py
test/orm/declarative/test_dc_transforms.py
test/orm/declarative/test_tm_future_annotations_sync.py
test/orm/declarative/test_typed_mapping.py