class documentation

class _ClassInstrumentationAdapter(ClassManager):

View In Hierarchy

Adapts a user-defined InstrumentationManager to a ClassManager.
Method __init__ Undocumented
Method ​_new​_state​_if​_none Install a default InstanceState if none is present.
Method dict​_getter Undocumented
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 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 teardown​_instance Undocumented
Method uninstall​_descriptor Undocumented
Method uninstall​_member Undocumented
Method unregister remove all instrumentation established by this ClassManager.
Instance Variable ​_adapted Undocumented
Instance Variable ​_get​_dict Undocumented
Instance Variable ​_get​_state Undocumented

Inherited from ClassManager:

Method __bool__ All ClassManagers are non-zero regardless of attribute state.
Method __eq__ Undocumented
Method __hash__ 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 ​_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 get​_impl Undocumented
Method has​_parent TODO
Method is​_instrumented Undocumented
Method subclass​_managers Undocumented
Method uninstrument​_attribute Undocumented
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
def __init__(self, class_, override):
def _new_state_if_none(self, instance):

Install a default InstanceState if none is present.

A private convenience method used by the __init__ decorator.

def dict_getter(self):
def has_state(self, instance):
def initialize_collection(self, key, state, factory):
def install_descriptor(self, key, inst):
def install_member(self, key, implementation):
def instrument_attribute(self, key, inst, propagated=False):
def instrument_collection_class(self, key, collection_class):
def manage(self):
Mark this instance as the manager for its class.
def manager_getter(self):
def new_instance(self, state=None):
def post_configure_attribute(self, key):
def setup_instance(self, instance, state=None):
def state_getter(self):

Return a (instance) -> InstanceState callable.

"state getter" callables should raise either KeyError or AttributeError if no InstanceState could be found for the instance.

def teardown_instance(self, instance):
def uninstall_descriptor(self, key):
def uninstall_member(self, key):
def unregister(self):
remove all instrumentation established by this ClassManager.
_adapted =

Undocumented

_get_dict =

Undocumented

_get_state =

Undocumented