@property
    def table(self):
        try:
            if isinstance(self.parent, Table):
                return self.parent
        except __HOLE__:
            pass
        raise exc.InvalidRequestError(
            "This constraint is not bound to a table.  Did you "
            "mean to call table.append_constraint(constraint) ?")
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/sql/schema.py/Constraint.table