class documentation

class _ClassScanMapperConfig(_MapperConfig):

Known subclasses: sqlalchemy.orm.decl_base._DeferredMapperConfig

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method ​_cls​_attr​_override​_checker Produce a function that checks if a class has overridden an attribute, taking SQLAlchemy-enabled dataclass fields into account.
Method ​_cls​_attr​_resolver produce a function to iterate the "attributes" of a class, adjusting for SQLAlchemy fields embedded in dataclass fields.
Method ​_extract​_declared​_columns Undocumented
Method ​_extract​_mappable​_attributes Undocumented
Method ​_metadata​_for​_cls Undocumented
Method ​_prepare​_mapper​_arguments Undocumented
Method ​_produce​_column​_copies Undocumented
Method ​_scan​_attributes Undocumented
Method ​_setup​_declared​_events Undocumented
Method ​_setup​_inheritance Undocumented
Method ​_setup​_table Undocumented
Method ​_warn​_for​_decl​_attributes Undocumented
Method map Undocumented
Class Variable __slots__ Undocumented
Instance Variable column​_copies Undocumented
Instance Variable declared​_columns Undocumented
Instance Variable dict​_ Undocumented
Instance Variable inherits Undocumented
Instance Variable local​_table Undocumented
Instance Variable mapper​_args Undocumented
Instance Variable mapper​_args​_fn Undocumented
Instance Variable persist​_selectable Undocumented
Instance Variable table​_args Undocumented
Instance Variable tablename Undocumented

Inherited from _MapperConfig:

Class Method setup​_mapping Undocumented
Method ​_early​_mapping Undocumented
Method set​_cls​_attribute Undocumented
Instance Variable classname Undocumented
Instance Variable cls Undocumented
Instance Variable declared​_attr​_reg Undocumented
Instance Variable properties Undocumented
def __init__(self, registry, cls_, dict_, table, mapper_kw):
def _cls_attr_override_checker(self, cls):
Produce a function that checks if a class has overridden an attribute, taking SQLAlchemy-enabled dataclass fields into account.
def _cls_attr_resolver(self, cls):
produce a function to iterate the "attributes" of a class, adjusting for SQLAlchemy fields embedded in dataclass fields.
def _extract_declared_columns(self):

Undocumented

def _extract_mappable_attributes(self):

Undocumented

def _metadata_for_cls(self, manager):

Undocumented

def _prepare_mapper_arguments(self, mapper_kw):

Undocumented

def _produce_column_copies(self, attributes_for_class, attribute_is_overridden):

Undocumented

def _scan_attributes(self):

Undocumented

def _setup_declared_events(self):

Undocumented

def _setup_inheritance(self, mapper_kw):

Undocumented

def _setup_table(self, table=None):

Undocumented

def _warn_for_decl_attributes(self, cls, key, c):

Undocumented

def map(self, mapper_kw=util.EMPTY_DICT):
__slots__: tuple[str, ...] =
column_copies: dict =

Undocumented

declared_columns =

Undocumented

dict_ =

Undocumented

inherits =

Undocumented

local_table =

Undocumented

mapper_args =

Undocumented

mapper_args_fn =

Undocumented

persist_selectable =

Undocumented

table_args =

Undocumented

tablename =

Undocumented