

def _subclass_manager(self, cls):
    "Create a new ClassManager for a subclass of this ClassManager's\n        class.\n\n        This is called automatically when attributes are instrumented so that\n        the attributes can be propagated to subclasses against their own\n        class-local manager, without the need for mappers etc. to have already\n        pre-configured managers for the full class hierarchy.   Mappers\n        can post-configure the auto-generated ClassManager when needed.\n\n        "
    manager = manager_of_class(self)
    if (manager is None):
        manager = _instrumentation_factory.create_manager_for_cls(cls)
    return manager

dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/orm/instrumentation.py ClassManager._subclass_manager/VarMisuse@18/178 `cls`->`self`