class documentation

class SchemaItem(SchemaEventTarget, visitors.Visitable):

Known subclasses: sqlalchemy.sql.schema.Column, sqlalchemy.sql.schema.Computed, sqlalchemy.sql.schema.Constraint, sqlalchemy.sql.schema.DefaultGenerator, sqlalchemy.sql.schema.ForeignKey, sqlalchemy.sql.schema.Identity, sqlalchemy.sql.schema.Index, sqlalchemy.sql.schema.MetaData, sqlalchemy.sql.schema.Table

View In Hierarchy

Base class for items that define a database schema.
Method __repr__ Undocumented
Method ​_init​_items Initialize the list of child items for this SchemaItem.
Method ​_schema​_item​_copy Undocumented
Class Variable __visit​_name__ Undocumented
Class Variable ​_use​_schema​_map Undocumented
Class Variable create​_drop​_stringify​_dialect Undocumented
Property info Info dictionary associated with the object, allowing user-defined data to be associated with this .SchemaItem.

Inherited from SchemaEventTarget:

Method ​_set​_parent Associate with this SchemaEvent's parent object.
Method ​_set​_parent​_with​_dispatch Undocumented

Inherited from Traversible:

Method get​_children Return immediate child .visitors.Traversible elements of this .visitors.Traversible.
Method __class​_getitem__ Undocumented
def _init_items(self, *args, **kw):
Initialize the list of child items for this SchemaItem.
def _schema_item_copy(self, schema_item):

Undocumented

_use_schema_map: bool =

Undocumented

create_drop_stringify_dialect: str =

Info dictionary associated with the object, allowing user-defined data to be associated with this .SchemaItem.

The dictionary is automatically generated when first accessed. It can also be specified in the constructor of some objects, such as _schema.Table and _schema.Column.