@util.dependencies("sqlalchemy.orm.base")
def _default_unmapped(base, cls):
    try:
        mappers = base.manager_of_class(cls).mappers
    except NO_STATE:
        mappers = {}
    except __HOLE__:
        mappers = {}
    name = _safe_cls_name(cls)

    if not mappers:
        return "Class '%s' is not mapped" % name
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/orm/exc.py/_default_unmapped