class documentation

class ExtendedInstrumentationRegistry(InstrumentationFactory): (source)

View In Hierarchy

Extends :class:`.InstrumentationFactory` with additional bookkeeping, to accommodate multiple types of class managers.

Method dict_of Undocumented
Method manager_of_class Undocumented
Method opt_manager_of_class Undocumented
Method state_of Undocumented
Method unregister Undocumented
Method _check_conflicts Overridden by a subclass to test for conflicting factories.
Method _collect_management_factories_for Return a collection of factories in play or specified for a hierarchy.
Method _extended_class_manager Undocumented
Method _locate_extended_factory Overridden by a subclass to do an extended lookup.
Class Variable _dict_finders Undocumented
Class Variable _manager_finders Undocumented
Class Variable _state_finders Undocumented
Instance Variable _extended Undocumented

Inherited from InstrumentationFactory:

Method create_manager_for_cls Undocumented
Class Variable dispatch Undocumented
def dict_of(self, instance): (source)

Undocumented

def manager_of_class(self, cls): (source)

Undocumented

def opt_manager_of_class(self, cls): (source)

Undocumented

def state_of(self, instance): (source)

Undocumented

def _check_conflicts(self, class_, factory): (source)

Overridden by a subclass to test for conflicting factories.

def _collect_management_factories_for(self, cls): (source)

Return a collection of factories in play or specified for a hierarchy. Traverses the entire inheritance graph of a cls and returns a collection of instrumentation factories for those classes. Factories are extracted from active ClassManagers, if available, otherwise instrumentation_finders is consulted.

def _extended_class_manager(self, class_, factory): (source)

Undocumented

def _locate_extended_factory(self, class_): (source)

Overridden by a subclass to do an extended lookup.

_dict_finders = (source)

Undocumented

_manager_finders = (source)

Undocumented

_state_finders = (source)

Undocumented

_extended: bool = (source)

Undocumented