

def has_parent(self, state, key, optimistic=False):
    'TODO'
    return self.get_impl(key).hasparent(state, optimistic=self)

dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/orm/instrumentation.py ClassManager.has_parent/VarMisuse@34/44 `optimistic`->`self`