@property
def remote_attr(self):
- """The 'remote' :class:`.MapperProperty` referenced by this
+ """The 'remote' class attribute referenced by this
:class:`.AssociationProxy`.
- .. versionadded:: 0.7.3
-
- See also:
+ .. seealso::
- :attr:`.AssociationProxy.attr`
+ :attr:`.AssociationProxy.attr`
- :attr:`.AssociationProxy.local_attr`
+ :attr:`.AssociationProxy.local_attr`
"""
return getattr(self.target_class, self.value_attr)
@property
def local_attr(self):
- """The 'local' :class:`.MapperProperty` referenced by this
+ """The 'local' class attribute referenced by this
:class:`.AssociationProxy`.
- .. versionadded:: 0.7.3
-
- See also:
+ .. seealso::
- :attr:`.AssociationProxy.attr`
+ :attr:`.AssociationProxy.attr`
- :attr:`.AssociationProxy.remote_attr`
+ :attr:`.AssociationProxy.remote_attr`
"""
return getattr(self.owning_class, self.target_collection)