code: def generate_dags(self, globals: Dict[str, Any]) -> None:
          
          dag_configs: Dict[str, Dict[str, Any]] = self.get_dag_configs()
          default_config: Dict[str, Any] = self.get_default_config()
  
          for dag_name, dag_config in dag_configs.items():
              dag_builder: DagBuilder = DagBuilder(dag_name=dag_name,
                                                   dag_config=dag_config,
                                                   default_config=default_config)
              try:
                  dag: Dict[str, Union[str, DAG]] = dag_builder.build()
              except Exception as e:
                  raise Exception(
                      f"Failed to generate dag {dag_name}. make sure config is properly populated. err:{e}"
                  )
              globals[dag["dag_id"]]: DAG = dag["dag"]
docs: Generates DAGs from YAML config
  
          :param globals: The globals() from the file used to generate DAGs. The dag_id
              must be passed into globals() for Airflow to import