MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / Vis

Class Vis

test/sql/test_external_traversal.py:649–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647 assert str(clause) == str(CloningVisitor().traverse(clause))
648
649 class Vis(CloningVisitor):
650 def visit_binary(self, binary):
651 binary.right = t2.c.col3
652
653 clause2 = Vis().traverse(clause)
654 assert c1 == str(clause)

Callers 9

test_cloneMethod · 0.70
test_no_cloneMethod · 0.70
test_clone_anon_labelMethod · 0.70
test_change_in_placeMethod · 0.70
test_joinMethod · 0.70
test_textMethod · 0.70
test_selectMethod · 0.70

Calls

no outgoing calls

Tested by 9

test_cloneMethod · 0.56
test_no_cloneMethod · 0.56
test_clone_anon_labelMethod · 0.56
test_change_in_placeMethod · 0.56
test_joinMethod · 0.56
test_textMethod · 0.56
test_selectMethod · 0.56