docs: def _execute_workflow(cls, process_args):
          """ Handles a single execution of a workflow
          """
          workflow, input_args, log_path = process_args
  
          if log_path:
              logger = logging.getLogger()
              logger.setLevel(logging.DEBUG)
              handler = cls._get_log_handler(log_path)
              logger.addHandler(handler)
  
          stats = {'start_time': dt.datetime.now()}
          try:
              _ = workflow.execute(input_args, monitor=True)
          except BaseException:
              stats['error'] = traceback.format_exc()
          stats['end_time'] = dt.datetime.now()
  
          if log_path:
              handler.close()
              logger.removeHandler(handler)
  
          return stats