summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/visitors.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-04-14 18:23:59 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-04-14 18:23:59 +0000
commitf5126ab3a169b6f8a9171868fe32b2bd385f8b8f (patch)
tree35f1ab1254e825ffd8d99ab76da27c28b206c480 /lib/sqlalchemy/sql/visitors.py
parent6a98ffb0598bdf68ff649c9d75fc75ab0c1c1fc0 (diff)
downloadsqlalchemy-f5126ab3a169b6f8a9171868fe32b2bd385f8b8f.tar.gz
- simplified __create_lazy_clause to make better usage of the new local/remote pairs collection
- corrected the direction of local/remote pairs for manytoone - added new tests which demonstrate lazyloading working when the bind param is embedded inside of a SQL function, when _local_remote_pairs argument is used; fixes the viewonly version of [ticket:610] - removed needless kwargs check from visitors.traverse
Diffstat (limited to 'lib/sqlalchemy/sql/visitors.py')
-rw-r--r--lib/sqlalchemy/sql/visitors.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/visitors.py b/lib/sqlalchemy/sql/visitors.py
index 792391929..9888a228a 100644
--- a/lib/sqlalchemy/sql/visitors.py
+++ b/lib/sqlalchemy/sql/visitors.py
@@ -177,7 +177,6 @@ def traverse(clause, **kwargs):
__traverse_options__ = kwargs.pop('traverse_options', {})
vis = Vis()
for key in kwargs:
- if key.startswith('visit_'):
- setattr(vis, key, kwargs[key])
+ setattr(vis, key, kwargs[key])
return vis.traverse(clause, clone=clone)