class_docstr: This executor is meant for debugging purposes. It can be used with SQLite.
  
  It executes one task instance at time. Additionally to support working
  with sensors, all sensors ``mode`` will be automatically set to "reschedule".
class_docstr_tok: ["This","executor","is","meant","for","debugging","purposes",".","It","can","be","used","with","SQLite",".","It","executes","one","task","instance","at","time",".","Additionally","to","support","working","with","sensors",",","all","sensors","``","mode","``","will","be","automatically","set","to","``","reschedule","''","."]
code: def terminate(self) -> None:
      self._terminated.set()
  
file_path: airflow/airflow/executors/debug_executor.py
imports: from __future__ import annotations
  import threading
  import time
  from typing import TYPE_CHECKING, Any
  from airflow.executors.base_executor import BaseExecutor
  from airflow.utils.state import TaskInstanceState
label_desc: Use image node_id 8 for calling the DebugExecutor obj's underlying member method code with example usage: obj.terminate() without return types