from resources.libraries.python.Constants import Constants
from resources.libraries.python.ssh import SSH, SSHTimeout
+from resources.libraries.python.PapiHistory import PapiHistory
__all__ = ["PapiExecutor", "PapiResponse"]
-# TODO: Implement Papi History
-# from resources.libraries.python.PapiHistory import PapiHistory
-
class PapiResponse(object):
"""Class for metadata specifying the Papi reply, stdout, stderr and return
:returns: self, so that method chaining is possible.
:rtype: PapiExecutor
"""
+ PapiHistory.add_to_papi_history(self._node, command, **kwargs)
self._api_command_list.append(dict(api_name=command, api_args=kwargs))
return self