MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / subclass_managers

Method subclass_managers

lib/sqlalchemy/orm/instrumentation.py:393–399  ·  view source on GitHub ↗
(self, recursive)

Source from the content-addressed store, hash-verified

391 manager.instrument_attribute(key, inst, True)
392
393 def subclass_managers(self, recursive):
394 for cls in self.class_.__subclasses__():
395 mgr = opt_manager_of_class(cls)
396 if mgr is not None and mgr is not self:
397 yield mgr
398 if recursive:
399 yield from mgr.subclass_managers(True)
400
401 def post_configure_attribute(self, key):
402 _instrumentation_factory.dispatch.attribute_instrument(

Callers 2

_listenMethod · 0.80
_listenMethod · 0.80

Calls 1

opt_manager_of_classFunction · 0.85

Tested by

no test coverage detected