Class | _ClassScanMapperConfig |
No class docstring; 0/10 instance variable, 0/1 class variable, 2/14 methods documented |
Class | _DeferredMapperConfig |
Undocumented |
Class | _ImperativeMapperConfig |
Undocumented |
Class | _MapperConfig |
Undocumented |
Function | _add_attribute |
add an attribute to an existing declarative class. |
Function | _as_dc_declaredattr |
Undocumented |
Function | _as_declarative |
Undocumented |
Function | _check_declared_props_nocascade |
Undocumented |
Function | _declarative_constructor |
A simple constructor that allows initialization from kwargs. |
Function | _declared_mapping_info |
Undocumented |
Function | _del_attribute |
Undocumented |
Function | _dive_for_cls_manager |
Undocumented |
Function | _get_immediate_cls_attr |
No summary |
Function | _is_declarative_props |
Undocumented |
Function | _mapper |
Undocumented |
Function | _resolve_for_abstract_or_classical |
Undocumented |
Function | _undefer_column_name |
Undocumented |
add an attribute to an existing declarative class.
This runs through the logic to determine MapperProperty, adds it to the Mapper, adds a column to the mapped Table, etc.
Undocumented
A simple constructor that allows initialization from kwargs.
Sets attributes on the constructed instance using the names and values in kwargs.
Only keys that are present as attributes of the instance's class are allowed. These could be, for example, any mapped columns or relationships.
return an attribute of the class that is either present directly on the class, e.g. not on a superclass, or is from a superclass but this superclass is a non-mapped mixin, that is, not a descendant of the declarative base and is also not classically mapped.
This is used to detect attributes that indicate something about a mapped class independently from any mapped classes that it may inherit from.