class documentation

class Traversible(util.with_metaclass(TraversibleType)):

Known subclasses: sqlalchemy.sql.expression.ClauseElement, sqlalchemy.sql.schema.SchemaItem, sqlalchemy.types.TypeEngine, sqlalchemy.sql.selectable._MemoizedSelectEntities

View In Hierarchy

Base class for visitable objects, applies the .visitors.TraversibleType metaclass.
Method get​_children Return immediate child .visitors.Traversible elements of this .visitors.Traversible.
Method __class​_getitem__ Undocumented
@util.preload_module('sqlalchemy.sql.traversals')
def get_children(self, omit_attrs=(), **kw):

Return immediate child .visitors.Traversible elements of this .visitors.Traversible.

This is used for visit traversal.

**kw may contain flags that change the collection that is returned, for example to return a subset of items in order to cut down on larger traversals, or to return child items from a different context (such as schema-level collections instead of clause-level).

def __class_getitem__(cls, key):

Undocumented