]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- an explicit check occurs when a synonym() is used with
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Dec 2009 01:51:23 +0000 (01:51 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Dec 2009 01:51:23 +0000 (01:51 +0000)
commita52ffc36476916988742098888ffae43a9b48e74
treecaa62954b4a5391fb254e30baa4671ac3d7e52ac
parent648e0eb70c8f4e3db3b632409924a58d76d25008
  - an explicit check occurs when a synonym() is used with
    map_column=True, when a ColumnProperty (deferred or otherwise)
    exists separately in the properties dictionary sent to mapper
    with the same keyname.   Instead of silently replacing
    the existing property (and possible options on that property),
    an error is raised.  [ticket:1633]
CHANGES
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/strategies.py
test/orm/test_mapper.py