]> 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:13 +0000 (15:36 -0400)
commit8daa6ccfb0be6486d36ebdd3cd709e8ebfbfa207
tree6435d73175d211d02a7046a4cf8e0f0d32eb43e6
parent2da30fde12e312dd9ea7dfff41f50cee93fc0793
- 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