code: def __init__(
      self,
      operator: str = None,
      delegation_target: str = None,
      context: dict = None,
  ):
      self.operator = operator
      self.label = None
      self.delegation_target = delegation_target
      self.context = (
          context.to_dict()
          if isinstance(context, ExecutionContext)
          else context
      )
      self.run_state = (
          ExecutionRunState.QUEUED
      )  # default to queued state on create
      self.run_link = None
      self.queued_at = datetime.utcnow()
      self.updated_at = datetime.utcnow()
      self.status = None
      self.dataset_id = None
      self.started_at = None
      self.pinned = False
      self.completed_at = None
      self.failed_at = None
      self.result = None
      self.id = None
      self._doc = None
  
file_path: fiftyone/fiftyone/factory/repos/delegated_operation_doc.py
imports: import logging
  from datetime import datetime
  from fiftyone.operators.executor import ExecutionContext, ExecutionResult, ExecutionRunState, ExecutionProgress
label_desc: Use image node_id 1 to create a new DelegatedOperationDocument object from inherited base classes: object with example: obj = DelegatedOperationDocument(operator, delegation_target, context)