class_docstr: Service for executing delegated operations.
docstr: Sets the progress of the given delegated operation.
  
  Args:
      doc_id: the ID of the delegated operation
      progress: the
          :class:`fiftyone.operators.executor.ExecutionProgress` of the
          operation
  
  Returns:
      a :class:`fiftyone.factory.repos.DelegatedOperationDocument`
docstr_tok: ["Sets","the","progress","of","the","given","delegated","operation",".","Args",":","doc_id",":","the","ID","of","the","delegated","operation","progress",":","the",":","class",":","`","fiftyone.operators.executor.ExecutionProgress","`","of","the","operation","Returns",":","a",":","class",":","`","fiftyone.factory.repos.DelegatedOperationDocument","`"]
code: def set_progress(self, doc_id, progress):
      """Sets the progress of the given delegated operation.
  
      Args:
          doc_id: the ID of the delegated operation
          progress: the
              :class:`fiftyone.operators.executor.ExecutionProgress` of the
              operation
  
      Returns:
          a :class:`fiftyone.factory.repos.DelegatedOperationDocument`
      """
      return self._repo.update_progress(_id=doc_id, progress=progress)
  
imports: import asyncio
  import logging
  import traceback
  from fiftyone.factory.repo_factory import RepositoryFactory
  from fiftyone.factory import DelegatedOperationPagingParams
  from fiftyone.operators.executor import prepare_operator_executor, do_execute_operator, ExecutionResult, ExecutionRunState
label_desc: Use image node_id 3 for calling the DelegatedOperationService obj's underlying member method code with example usage: obj.set_progress(doc_id, progress) and returns: self