class_docstr: The execution state of a workflow. This dataclass helps with observation
  and debugging.
class_docstr_tok: ["The","execution","state","of","a","workflow",".","This","dataclass","helps","with","observation","and","debugging","."]
docstr: Insert one task to the frontier queue.
docstr_tok: ["Insert","one","task","to","the","frontier","queue","."]
code: def append_frontier_to_run(self, task_id: TaskID) -> None:
      """Insert one task to the frontier queue."""
      if (
          task_id not in self.frontier_to_run_set
          and task_id not in self.running_frontier_set
      ):
          self.frontier_to_run.append(task_id)
          self.frontier_to_run_set.add(task_id)
  
imports: import asyncio
  from collections import deque, defaultdict
  import dataclasses
  from dataclasses import field
  import logging
  from typing import List, Dict, Optional, Set, Deque, Callable
  import ray
  from ray.workflow.common import TaskID, WorkflowRef, WorkflowTaskRuntimeOptions
  from ray.workflow.workflow_context import WorkflowTaskContext
label_desc: Use image node_id 3 for calling the WorkflowExecutionState obj's underlying member method code with example usage: obj.append_frontier_to_run(task_id) without return types