From: Diana Clarke Date: Sun, 16 Dec 2012 13:01:08 +0000 (-0500) Subject: docs - missing 'attr' in AssociationProxy join see #2636 X-Git-Tag: rel_0_8_0~38^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72d4f3e2209638182b301336c6e460a046af9fe9;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 fac1aa429e..03eafda8a6 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.