From 47472dde24d9a3caf5f24d8fc2efca901a22302a Mon Sep 17 00:00:00 2001 From: Rachid Belaid Date: Wed, 6 Apr 2016 20:41:14 -0700 Subject: [PATCH] Fix typo from "addreses" to "addresses" (cherry picked from commit c8db0862c102281da617d395b1826ff523af302e) --- lib/sqlalchemy/orm/strategy_options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sqlalchemy/orm/strategy_options.py b/lib/sqlalchemy/orm/strategy_options.py index 141f867f57..be792aa435 100644 --- a/lib/sqlalchemy/orm/strategy_options.py +++ b/lib/sqlalchemy/orm/strategy_options.py @@ -608,7 +608,7 @@ def load_only(loadopt, *attrs): ``Address`` object load only the ``email_address`` attribute:: session.query(User).options( - subqueryload("addreses").load_only("email_address") + subqueryload("addresses").load_only("email_address") ) For a :class:`.Query` that has multiple entities, the lead entity can be -- 2.47.3