def METHOD_NAME(self, steps: list):
    try:
        cur = self.conn.cursor()
        cnt = self._num_records(cur)
        cur.executemany("DELETE FROM steps WHERE step_id=?",
                        [(x,) for x in steps])
        self.conn.commit()
        return cnt - self._num_records(cur)
    except sqlite3.DatabaseError as e:
        env.logger.warning(
            f"Failed to remove signature for {len(steps)} substeps: {e}")
        return 0