MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / subclass_managers

Method subclass_managers

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

Source from the content-addressed store, hash-verified

383 manager.instrument_attribute(key, inst, True)
384
385 def subclass_managers(self, recursive):
386 for cls in self.class_.__subclasses__():
387 mgr = opt_manager_of_class(cls)
388 if mgr is not None and mgr is not self:
389 yield mgr
390 if recursive:
391 yield from mgr.subclass_managers(True)
392
393 def post_configure_attribute(self, key):
394 _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