summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRachid Belaid <rachid@opendoor.com>2016-04-06 20:41:14 -0700
committerRachid Belaid <rachid@opendoor.com>2016-04-06 20:41:34 -0700
commitc8db0862c102281da617d395b1826ff523af302e (patch)
treec0a9533a20a84366648bfdb23b1635ed5dc2c74d
parent829bd30834cc0e56c4aa876a074b823d0f87cea9 (diff)
downloadsqlalchemy-c8db0862c102281da617d395b1826ff523af302e.tar.gz
Fix typo from "addreses" to "addresses"
-rw-r--r--lib/sqlalchemy/orm/strategy_options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/strategy_options.py b/lib/sqlalchemy/orm/strategy_options.py
index 796c17ec4..b7084cc22 100644
--- a/lib/sqlalchemy/orm/strategy_options.py
+++ b/lib/sqlalchemy/orm/strategy_options.py
@@ -615,7 +615,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