From: Diana Clarke Date: Sun, 16 Dec 2012 13:04:52 +0000 (-0500) Subject: docs - missing 'attr' in AssociationProxy join see #2636 X-Git-Tag: rel_0_7_10~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=422448e254cffb43ede840d04fdd5cd3f9a7074b;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git docs - missing 'attr' in AssociationProxy join see #2636 --- diff --git a/doc/build/orm/extensions/associationproxy.rst b/doc/build/orm/extensions/associationproxy.rst index 177587c59a..cd8a8cc81c 100644 --- a/doc/build/orm/extensions/associationproxy.rst +++ b/doc/build/orm/extensions/associationproxy.rst @@ -481,7 +481,7 @@ and ``.contains()`` is available for a proxy to a scalar collection:: :class:`.AssociationProxy` can be used with :meth:`.Query.join` somewhat manually using the :attr:`~.AssociationProxy.attr` attribute in a star-args context:: - q = session.query(User).join(*User.keywords) + q = session.query(User).join(*User.keywords.attr) .. versionadded:: 0.7.3 :attr:`~.AssociationProxy.attr` attribute in a star-args context.