]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
A meaningful :attr:`.QueryableAttribute.info` attribute is
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Mar 2013 18:24:54 +0000 (13:24 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Mar 2013 18:24:54 +0000 (13:24 -0500)
commit852e9954aaec7205e7ebaf3d0b232e1e8ff20e63
treeeda5a78cc0f9a496c4b662885a4b5810669d6dc6
parentd2a256a3ad48341e013b6e7a3e911495e5b5d31a
A meaningful :attr:`.QueryableAttribute.info` attribute is
added, which proxies down to the ``.info`` attribute on either
the :class:`.schema.Column` object if directly present, or
the :class:`.MapperProperty` otherwise.  The full behavior
is documented and ensured by tests to remain stable.
[ticket:2675]
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/sql/util.py
test/orm/test_mapper.py