def cancelAllPendingResults( self ):
for k in self._results.keys():<EOL><INDENT>rs = self._results[k]<EOL>self._results[k] = [ j for j in rs if isinstance(j, dict) ]<EOL><DEDENT>self._pending = dict()<EOL>
Cancel all pending results. Note that this only affects the
        notebook's record, not any job running in a lab.