diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-04-14 13:15:21 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-04-14 13:15:21 -0400 |
| commit | cea03be855514d592b6671fa6dbc074a19a795fb (patch) | |
| tree | f127540bda77a4ea5d9935cffedf04d8b01776a9 /lib/sqlalchemy/ext/associationproxy.py | |
| parent | a898ade3bc36ca27cf9475d1348249646eb40e95 (diff) | |
| download | sqlalchemy-cea03be855514d592b6671fa6dbc074a19a795fb.tar.gz | |
Run search and replace of symbolic module names
Replaces a wide array of Sphinx-relative doc references
with an abbreviated absolute form now supported by
zzzeeksphinx.
Change-Id: I94bffcc3f37885ffdde6238767224296339698a2
Diffstat (limited to 'lib/sqlalchemy/ext/associationproxy.py')
| -rw-r--r-- | lib/sqlalchemy/ext/associationproxy.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/ext/associationproxy.py b/lib/sqlalchemy/ext/associationproxy.py index 599bf966d..fc10cb88d 100644 --- a/lib/sqlalchemy/ext/associationproxy.py +++ b/lib/sqlalchemy/ext/associationproxy.py @@ -114,7 +114,7 @@ class AssociationProxy(interfaces.InspectionAttrInfo): and/or subclassed directly. :param target_collection: Name of the collection we'll proxy to, - usually created with :func:`.relationship`. + usually created with :func:`_orm.relationship`. :param attr: Attribute on the collected instances we'll proxy for. For example, given a target collection of [obj1, obj2], a @@ -216,7 +216,7 @@ class AssociationProxy(interfaces.InspectionAttrInfo): keywords = association_proxy('kws', 'keyword') If we access this :class:`.AssociationProxy` from - :attr:`.Mapper.all_orm_descriptors`, and we want to view the + :attr:`_orm.Mapper.all_orm_descriptors`, and we want to view the target class for this proxy as mapped by ``User``:: inspect(User).all_orm_descriptors["keywords"].for_class(User).target_class @@ -467,7 +467,7 @@ class AssociationProxyInstance(object): """Return a tuple of ``(local_attr, remote_attr)``. This attribute is convenient when specifying a join - using :meth:`.Query.join` across two relationships:: + using :meth:`_query.Query.join` across two relationships:: sess.query(Parent).join(*Parent.proxied.attr) |
