code: def __init__(self, task):
      from ....backend_interface import Task
  
      assert isinstance(task, Task)
      self.task = task
      self._task_reset_state_counter = 0
      self._status_in_progress = str(Task.TaskStatusEnum.in_progress)
      self._status_created = str(Task.TaskStatusEnum.created)
      self._status_expected_statuses = (
          str(Task.TaskStatusEnum.created),
          str(Task.TaskStatusEnum.queued),
          str(Task.TaskStatusEnum.in_progress),
      )
  
imports: from ....config import deferred_config
label_desc: Use image node_id 1 to create a new TaskStopSignal object from inherited base classes: object with example: obj = TaskStopSignal(task)