From: Mike Bayer Date: Wed, 17 Aug 2016 22:26:34 +0000 (-0400) Subject: - fix wrong var name, credit to @RazerM X-Git-Tag: rel_1_1_0~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5145f671a4b5eb072e996bc450d2946d4be2a343;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - fix wrong var name, credit to @RazerM Change-Id: I36fbbfd1223ef5298c679f46db24e1bf3013cef0 --- diff --git a/doc/build/changelog/migration_11.rst b/doc/build/changelog/migration_11.rst index 36c5ead3c2..ed64565d1e 100644 --- a/doc/build/changelog/migration_11.rst +++ b/doc/build/changelog/migration_11.rst @@ -1385,7 +1385,7 @@ and the column arguments passed to :meth:`.TextClause.columns`:: Address.email_address ) - query = session.query(User).from_statement(text).\ + query = session.query(User).from_statement(stmt).\ options(contains_eager(User.addresses)) result = query.all()