code: def clear(self):
          
          with self._conn:
              self._conn.execute('DELETE FROM results')
              self._conn.execute('DELETE FROM work_items')
docs: Clear all work items from the session.
  
          This removes any associated results as well.