class_docstr: Service for executing delegated operations.
docstr: Queues the given delegated operation for execution.
  
  Args:
      operator: the operator name
      delegation_target (None): an optional delegation target
      label (None): an optional label for the operation (will default to
          the operator if not supplied)
      context (None): an
          :class:`fiftyone.operators.executor.ExecutionContext`
  
  Returns:
      a :class:`fiftyone.factory.repos.DelegatedOperationDocument`
docstr_tok: ["Queues","the","given","delegated","operation","for","execution",".","Args",":","operator",":","the","operator","name","delegation_target","(","None",")",":","an","optional","delegation","target","label","(","None",")",":","an","optional","label","for","the","operation","(","will","default","to","the","operator","if","not","supplied",")","context","(","None",")",":","an",":","class",":","`","fiftyone.operators.executor.ExecutionContext","`","Returns",":","a",":","class",":","`","fiftyone.factory.repos.DelegatedOperationDocument","`"]
code: def queue_operation(
      self, operator, label=None, delegation_target=None, context=None
  ):
      """Queues the given delegated operation for execution.
  
      Args:
          operator: the operator name
          delegation_target (None): an optional delegation target
          label (None): an optional label for the operation (will default to
              the operator if not supplied)
          context (None): an
              :class:`fiftyone.operators.executor.ExecutionContext`
  
      Returns:
          a :class:`fiftyone.factory.repos.DelegatedOperationDocument`
      """
      return self._repo.queue_operation(
          operator=operator,
          label=label if label else operator,
          delegation_target=delegation_target,
          context=context,
      )
  
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 2 for calling the DelegatedOperationService obj's underlying member method code with example usage: obj.queue_operation(operator, label, delegation_target, context) and returns: self