def clear(self):
        """Clear all work items from the session.

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

        This removes any associated results as well.