code: def make_example_dags(module):
      """Loads DAGs from a module for test."""
      dagbag = DagBag(module.__path__[0])
      return dagbag.dags
  
imports: from __future__ import annotations
  from datetime import timedelta
  from unittest.mock import patch
  import pytest
  import airflow.example_dags
  from airflow.exceptions import AirflowException
  from airflow.models import DagBag
  from airflow.models.dagcode import DagCode
  from airflow.utils.file import open_maybe_zipped
  from airflow.utils.session import create_session
  from tests.test_utils.db import clear_db_dag_code
label_desc: Use image node_id 1 for calling a global function with example usage: make_example_dags(module) and returns: dagbag