Exemple #1
0
 def get_execution_details(self):
     """
     Retrieves execution details for a task.
     :return: Execution details instance.
     """
     data = self._api.get(
         self._URL['execution_details'].format(id=self.id)).json()
     return ExecutionDetails(api=self._api, **data)
Exemple #2
0
 def get_execution_details(self):
     """
     Retrieves execution details for a task.
     :return: Execution details instance.
     """
     extra = {'resource': self.__class__.__name__, 'query': {'id': self.id}}
     logger.info('Get execution details', extra=extra)
     data = self._api.get(
         self._URL['execution_details'].format(id=self.id)).json()
     return ExecutionDetails(api=self._api, **data)