class documentation
class ExternalTraversal(util.MemoizedSlots): (source)
Known subclasses: sqlalchemy.sql.visitors.CloningExternalTraversal
Base class for visitor objects which can traverse externally using the :func:`.visitors.traverse` function. Direct usage of the :func:`.visitors.traverse` function is usually preferred.
Method | chain |
'Chain' an additional ExternalTraversal onto this ExternalTraversal |
Method | iterate |
Traverse the given expression structure, returning an iterator of all elements. |
Method | traverse |
Traverse and visit the given expression structure. |
Method | traverse |
Undocumented |
Class Variable | __slots__ |
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
:
Method | __getattr__ |
Undocumented |
Method | _fallback |
Undocumented |
overridden in
sqlalchemy.sql.util.ColumnAdapter
'Chain' an additional ExternalTraversal onto this ExternalTraversal The chained visitor will receive all visit events after this one.
def iterate(self, obj:
Optional[ ExternallyTraversible]
) -> Iterator[ ExternallyTraversible]
:
(source)
¶
Traverse the given expression structure, returning an iterator of all elements.
overridden in
sqlalchemy.sql.visitors.CloningExternalTraversal
Traverse and visit the given expression structure.
overridden in
sqlalchemy.sql.util.ColumnAdapter
Iterate through this visitor and each 'chained' visitor.