class ClassManager(HasMemoized, dict):
Known subclasses: sqlalchemy.ext.instrumentation._ClassInstrumentationAdapter
Method | __bool__ |
All ClassManagers are non-zero regardless of attribute state. |
Method | __eq__ |
Undocumented |
Method | __hash__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | _all_key_set |
Undocumented |
Method | _all_sqla_attributes |
return an iterator of all classbound attributes that are implement .InspectionAttr . |
Method | _attr_has_impl |
Return True if the given attribute is fully initialized. |
Method | _collection_impl_keys |
Undocumented |
Method | _finalize |
Undocumented |
Method | _get_class_attr_mro |
return an attribute on the class without tripping it. |
Method | _instrument_init |
Undocumented |
Method | _loader_impls |
Undocumented |
Method | _new_state_if_none |
Install a default InstanceState if none is present. |
Method | _scalar_loader_impls |
Undocumented |
Method | _serialize |
Undocumented |
Method | _subclass_manager |
Create a new ClassManager for a subclass of this ClassManager's class. |
Method | _update_state |
Undocumented |
Method | deferred_scalar_loader.setter |
Undocumented |
Method | dict_getter |
Undocumented |
Method | get_impl |
Undocumented |
Method | has_parent |
TODO |
Method | has_state |
Undocumented |
Method | initialize_collection |
Undocumented |
Method | install_descriptor |
Undocumented |
Method | install_member |
Undocumented |
Method | instrument_attribute |
Undocumented |
Method | instrument_collection_class |
Undocumented |
Method | is_instrumented |
Undocumented |
Method | manage |
Mark this instance as the manager for its class. |
Method | manager_getter |
Undocumented |
Method | new_instance |
Undocumented |
Method | post_configure_attribute |
Undocumented |
Method | setup_instance |
Undocumented |
Method | state_getter |
Return a (instance) -> InstanceState callable. |
Method | subclass_managers |
Undocumented |
Method | teardown_instance |
Undocumented |
Method | uninstall_descriptor |
Undocumented |
Method | uninstall_member |
Undocumented |
Method | uninstrument_attribute |
Undocumented |
Method | unregister |
remove all instrumentation established by this ClassManager. |
Class Variable | _state_setter |
Undocumented |
Class Variable | factory |
Undocumented |
Class Variable | registry |
Undocumented |
Instance Variable | _bases |
Undocumented |
Instance Variable | _finalized |
Undocumented |
Instance Variable | class_ |
Undocumented |
Instance Variable | declarative_scan |
Undocumented |
Instance Variable | dispatch |
Undocumented |
Instance Variable | expired_attribute_loader |
previously known as deferred_scalar_loader |
Instance Variable | info |
Undocumented |
Instance Variable | init_method |
Undocumented |
Instance Variable | local_attrs |
Undocumented |
Instance Variable | mapper |
Undocumented |
Instance Variable | new_init |
Undocumented |
Instance Variable | original_init |
Undocumented |
Instance Variable | originals |
Undocumented |
Property | _state_constructor |
Undocumented |
Property | attributes |
Undocumented |
Property | deferred_scalar_loader |
Undocumented |
Property | is_mapped |
Undocumented |
return an iterator of all classbound attributes that are
implement .InspectionAttr
.
This includes .QueryableAttribute
as well as extension
types such as .hybrid_property
and
.AssociationProxy
.
Return True if the given attribute is fully initialized.
i.e. has an impl.
Install a default InstanceState if none is present.
A private convenience method used by the __init__ decorator.
Create a new ClassManager for a subclass of this ClassManager's class.
This is called automatically when attributes are instrumented so that the attributes can be propagated to subclasses against their own class-local manager, without the need for mappers etc. to have already pre-configured managers for the full class hierarchy. Mappers can post-configure the auto-generated ClassManager when needed.
Undocumented
Undocumented
Return a (instance) -> InstanceState callable.
"state getter" callables should raise either KeyError or AttributeError if no InstanceState could be found for the instance.
Undocumented