]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- add a warning suggesting to use the dictionary form of access
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 5 Jul 2015 15:16:26 +0000 (11:16 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 5 Jul 2015 15:17:15 +0000 (11:17 -0400)
commita0ba7ce055d38d4c2030d2985d78d8ebf5434416
tree98ae730e554a253082cec316e0b6f27aa2f5cd78
parent927804e4891eb3d089168dfafff8d9cb924d4968
- add a warning suggesting to use the dictionary form of access
if the name of the attribute being accessed is non-specific,
thereby avoiding collisions on names like items, values, keys.
fixes #3475

(cherry picked from commit 6fcc5d4a07e5c409a7d8438582598d0e90562ea0)
lib/sqlalchemy/orm/mapper.py