code: def _reset_test_session(self, experiemental_api_app):
      self.app = experiemental_api_app.test_client()
      yield
      session = Session()
      session.query(DagRun).delete()
      session.commit()
      session.close()
  
file_path: airflow/tests/www/api/experimental/test_dag_runs_endpoint.py
imports: from __future__ import annotations
  import json
  import pytest
  from airflow.api.common.trigger_dag import trigger_dag
  from airflow.models import DagBag, DagRun
  from airflow.models.serialized_dag import SerializedDagModel
  from airflow.settings import Session
label_desc: Use image node_id 2 for calling the TestDagRunsEndpoint obj's underlying member method code with example usage: obj._reset_test_session(experiemental_api_app) without return types