code: def test_should_not_do_database_queries(example):
      with assert_queries_count(0):
          DagBag(
              dag_folder=example,
              include_examples=False,
          )
  
file_path: airflow/tests/always/test_example_dags.py
imports: from __future__ import annotations
  import os
  from glob import glob
  from pathlib import Path
  import pytest
  from airflow.models import DagBag
  from airflow.utils import yaml
  from tests.test_utils.asserts import assert_queries_count
label_desc: Use image node_id 6 for calling a global function with example usage: test_should_not_do_database_queries(example) without return types