code: def clean_db(session):
      yield
      session.query(DagRun).delete()
      session.query(TaskInstance).delete()
  
file_path: airflow/tests/ti_deps/deps/test_runnable_exec_date_dep.py
imports: from __future__ import annotations
  from unittest.mock import Mock, patch
  import pytest
  import time_machine
  from airflow import settings
  from airflow.models import DagRun, TaskInstance
  from airflow.ti_deps.deps.runnable_exec_date_dep import RunnableExecDateDep
  from airflow.utils.timezone import datetime
  from airflow.utils.types import DagRunType
label_desc: Use image node_id 1 for calling a global function with example usage: clean_db(session) without return types