Class: Property

Abstract base class for all properties of an Entity.

Constructor

__init__ (self, *args, **kwargs)

Methods

add_mapper_extension (self, ext)

add_mapper_property (self, name, prop)

add_table_column (self, column)

helper methods

after_mapper (self)

after_table (self)

attach (self, entity, name)

Attach this property to its entity, using 'name' as name.

Properties will be attached in the order they were declared.

before_mapper (self)

before_table (self)

create_non_pk_cols (self)

create_pk_cols (self)

create_properties (self)

Subclasses may override this method to add properties to the involved entity.

create_tables (self)

Subclasses may override this method to create tables.

finalize (self)