Base#

class caf.ntem.structure.Base(**kwargs)[source]#

Bases: DeclarativeBase

Base class for metadata tables.

Attributes

metadata

Refers to the _schema.MetaData collection that will be used for new _schema.Table objects.

registry

Refers to the _orm.registry in use where new _orm.Mapper objects will be associated.

Methods

__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Attributes Documentation

Parameters:

kwargs (Any)

metadata: ClassVar[MetaData] = MetaData()#

Refers to the _schema.MetaData collection that will be used for new _schema.Table objects.

See also

orm_declarative_metadata

registry: ClassVar[registry] = <sqlalchemy.orm.decl_api.registry object>#

Refers to the _orm.registry in use where new _orm.Mapper objects will be associated.