]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Extended the :doc:`/core/inspection` system so that all Python descriptors
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 30 Dec 2012 00:31:28 +0000 (19:31 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 30 Dec 2012 00:31:28 +0000 (19:31 -0500)
commitb30ef87d27898434188462455f3c850297e335d1
tree58eddbad639eb05e1756d81db57822e8a4465ae2
parent559b83312c44f7ebfe94bf7bd3b2de3133c5af9e
Extended the :doc:`/core/inspection` system so that all Python descriptors
associated with the ORM or its extensions can be retrieved.
This fulfills the common request of being able to inspect
all :class:`.QueryableAttribute` descriptors in addition to
extension types such as :class:`.hybrid_property` and
:class:`.AssociationProxy`.  See :attr:`.Mapper.all_orm_descriptors`.
12 files changed:
doc/build/changelog/changelog_08.rst
doc/build/orm/extensions/associationproxy.rst
doc/build/orm/extensions/hybrid.rst
doc/build/orm/internals.rst
doc/build/orm/tutorial.rst
lib/sqlalchemy/ext/associationproxy.py
lib/sqlalchemy/ext/hybrid.py
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/instrumentation.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/mapper.py
test/orm/test_inspect.py