summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-06-02 19:48:30 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-06-02 19:48:30 -0400
commit35a674aab4a832e76232e7be4b16b7a635a19824 (patch)
treee3df6c0b5b49efbc19d1b992ef534a7e1fc76b3c /lib/sqlalchemy/orm
parent02ae3cd54d0c47850ae1c894abae256a4717fe2d (diff)
downloadsqlalchemy-35a674aab4a832e76232e7be4b16b7a635a19824.tar.gz
- figured out what the from_self() thing was about, part of query.statement, but would
like to improve upon query.statement needing to do this
Diffstat (limited to 'lib/sqlalchemy/orm')
-rw-r--r--lib/sqlalchemy/orm/query.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/orm/query.py b/lib/sqlalchemy/orm/query.py
index 25ffb0127..66d208a74 100644
--- a/lib/sqlalchemy/orm/query.py
+++ b/lib/sqlalchemy/orm/query.py
@@ -447,6 +447,8 @@ class Query(object):
statement
if self._params:
stmt = stmt.params(self._params)
+
+
# TODO: there's no tests covering effects of
# the annotation not being there
return stmt._annotate({'no_replacement_traverse': True})