code: def setup_class(self):
      clear_db_dag_warnings()
      clear_db_dags()
  
imports: from __future__ import annotations
  from unittest.mock import ANY
  import pytest
  from airflow.models.dag import DagModel
  from airflow.models.dagwarning import DagWarning
  from airflow.security import permissions
  from airflow.utils.session import create_session
  from tests.test_utils.api_connexion_utils import assert_401, create_user, delete_user
  from tests.test_utils.db import clear_db_dag_warnings, clear_db_dags
label_desc: Use image node_id 1 for calling the TestGetDagWarningEndpoint obj's underlying member method code with example usage: obj.setup_class() without return types