code: def clear_db():
      clear_db_logs()
      clear_db_runs()
      clear_db_dags()
      yield
  
file_path: airflow/tests/models/test_timestamp.py
imports: from __future__ import annotations
  import pendulum
  import pytest
  import time_machine
  from airflow.models import Log, TaskInstance
  from airflow.operators.empty import EmptyOperator
  from airflow.utils import timezone
  from airflow.utils.session import provide_session
  from airflow.utils.state import State
  from tests.test_utils.db import clear_db_dags, clear_db_logs, clear_db_runs
label_desc: Use image node_id 1 for calling a global function with example usage: clear_db() without return types