class_docstr: A no-op task for testing executors.
class_docstr_tok: ["A","no-op","task","for","testing","executors","."]
docstr: Constructor.
  
  Args:
      parent_tasks: Self-explanatory.
      should_error: if true, return an error in the results.
docstr_tok: ["Constructor",".","Args",":","parent_tasks",":","Self-explanatory",".","should_error",":","if","true",",","return","an","error","in","the","results","."]
code: def __init__(
      self,
      parent_tasks: Sequence[ExecutionPlanTask] = (),
      should_error: bool = False,
  ) -> None:  # noqa: D
      """Constructor.
  
      Args:
          parent_tasks: Self-explanatory.
          should_error: if true, return an error in the results.
      """
      self._should_error = should_error
      super().__init__(
          task_id=self.create_unique_id(),
          parent_nodes=list(parent_tasks),
      )
  
file_path: metricflow/metricflow/test/execution/noop_task.py
imports: from __future__ import annotations
  import logging
  import time
  from typing import Optional, Sequence
  from metricflow.dag.id_generation import EXEC_NODE_NOOP
  from metricflow.execution.execution_plan import ExecutionPlanTask, SqlQuery, TaskExecutionError, TaskExecutionResult
label_desc: Use image node_id 1 to create a new NoOpExecutionPlanTask object from inherited base classes: ExecutionPlanTask with example: obj = NoOpExecutionPlanTask(parent_tasks, should_error)