]> 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:41 +0000 (15:36 -0400)
commit1f88b16a0fc0e7a32a3e460bc2ac1f802b4884c4
treea96ceece09700a500c5b330f9788692db290d273
parente32ed0b7f7aa33333268a57377ac59396ea0339e
- 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