summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/interfaces.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-08-13 19:20:44 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-08-13 19:20:44 -0400
commitea85c7053dc9532a95fd487628768fdfc1ca5c30 (patch)
treecb4daf1166a5ef4a6dcf4d3c05da1a97882233df /lib/sqlalchemy/orm/interfaces.py
parent44d21de457424f5623362474325aa6e5d3fe9e6d (diff)
downloadsqlalchemy-ea85c7053dc9532a95fd487628768fdfc1ca5c30.tar.gz
- The :meth:`.InspectionAttr.info` collection is now moved down to
:class:`.InspectionAttr`, where in addition to being available on all :class:`.MapperProperty` objects, it is also now available on hybrid properties, association proxies, when accessed via :attr:`.Mapper.all_orm_descriptors`. fixes #2971
Diffstat (limited to 'lib/sqlalchemy/orm/interfaces.py')
-rw-r--r--lib/sqlalchemy/orm/interfaces.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/sqlalchemy/orm/interfaces.py b/lib/sqlalchemy/orm/interfaces.py
index 2dfaf6243..49ec99ce4 100644
--- a/lib/sqlalchemy/orm/interfaces.py
+++ b/lib/sqlalchemy/orm/interfaces.py
@@ -109,28 +109,6 @@ class MapperProperty(_MappedAttribute, InspectionAttr):
def instrument_class(self, mapper): # pragma: no-coverage
raise NotImplementedError()
- @util.memoized_property
- def info(self):
- """Info dictionary associated with the object, allowing user-defined
- data to be associated with this :class:`.MapperProperty`.
-
- The dictionary is generated when first accessed. Alternatively,
- it can be specified as a constructor argument to the
- :func:`.column_property`, :func:`.relationship`, or :func:`.composite`
- functions.
-
- .. versionadded:: 0.8 Added support for .info to all
- :class:`.MapperProperty` subclasses.
-
- .. seealso::
-
- :attr:`.QueryableAttribute.info`
-
- :attr:`.SchemaItem.info`
-
- """
- return {}
-
_configure_started = False
_configure_finished = False