class documentation
class CloningExternalTraversal(ExternalTraversal): (source)
Known subclasses: sqlalchemy.sql.visitors.ReplacingExternalTraversal
Base class for visitor objects which can traverse using the :func:`.visitors.cloned_traverse` function. Direct usage of the :func:`.visitors.cloned_traverse` function is usually preferred.
Method | copy |
Apply cloned traversal to the given list of elements, and return the new list. |
Method | traverse |
Traverse and visit the given expression structure. |
Class Variable | __slots__ |
Undocumented |
Inherited from ExternalTraversal
:
Method | chain |
'Chain' an additional ExternalTraversal onto this ExternalTraversal |
Method | iterate |
Traverse the given expression structure, returning an iterator of all elements. |
Method | traverse |
Undocumented |
Class Variable | __traverse |
Undocumented |
Property | visitor |
Iterate through this visitor and each 'chained' visitor. |
Method | _memoized |
Undocumented |
Class Variable | _next |
Undocumented |
Inherited from MemoizedSlots
(via ExternalTraversal
):
Method | __getattr__ |
Undocumented |
Method | _fallback |
Undocumented |
def copy_and_process(self, list_:
List[ ExternallyTraversible]
) -> List[ ExternallyTraversible]
:
(source)
¶
Apply cloned traversal to the given list of elements, and return the new list.
overridden in
sqlalchemy.sql.visitors.ReplacingExternalTraversal
Traverse and visit the given expression structure.