def patch( self ):
for k in self._results.keys():<EOL><INDENT>ars = self._results[k]<EOL>for res in ars:<EOL><INDENT>if isinstance(res, dict) and res[epyc.Experiment.METADATA][epyc.Experiment.STATUS]:<EOL><INDENT>self._patchDatetimeMetadata(res, epyc.Experiment.START_TIME)<EOL>self._patchDatetimeMetadata(res, epyc.Experiment.END_TIME)<EOL><DEDENT><DEDENT><DEDENT>ps = dict()<EOL>for k in self._pending.keys():<EOL><INDENT>ps[int(k)] = self._pending[k]<EOL><DEDENT>self._pending = ps<EOL>
Patch the results dict. The default processes the :attr:`Experiment.START_TIME`
        and :attr:`Experiment.END_TIME` metadata fields back into Python `datetime` objects
        from ISO strings. This isn't strictly necessary, but it makes notebook
        data structure more Pythonic.