]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
resolve synonyms in dictionary form of Session.get()
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Nov 2022 16:48:43 +0000 (12:48 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Nov 2022 16:49:49 +0000 (12:49 -0400)
commit7b6259c0f3ae411976f8febfe41f2c5fc3490b13
tree3615eba95194e308417763bd7dafb074f788d6f6
parentb96321ae79a0366c33ca739e6e67aaf5f4420db4
resolve synonyms in dictionary form of Session.get()

Improved "dictionary mode" for :meth:`_orm.Session.get` so that synonym
names which refer to primary key attribute names may be indicated in the
named dictionary.

Fixes: #8753
Change-Id: I56112564a5c23b51b26e01c64087cbf4399cd951
doc/build/changelog/unreleased_14/8753.rst [new file with mode: 0644]
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/session.py
test/orm/test_query.py