]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The ``__mapper_args__`` dictionary is copied from a declarative
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 30 May 2014 19:36:13 +0000 (15:36 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 30 May 2014 19:36:47 +0000 (15:36 -0400)
commit01eb52b516f19bb9b8aef4b8657a27c14063aad5
tree3757086b43f4395636ce191f20ae6b1dd8957b26
parent7475cfd443dc5aa23828c8950f32e581591323db
- The ``__mapper_args__`` dictionary is copied from a declarative
mixin or abstract class when accessed, so that modifications made
to this dictionary by declarative itself won't conflict with that
of other mappings.  The dictionary is modified regarding the
``version_id_col`` and ``polymorphic_on`` arguments, replacing the
column within with the one that is officially mapped to the local
class/table. fixes #3062
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/ext/declarative/base.py
test/ext/declarative/test_mixin.py