def generate_dags(self, globals: Dict[str, Any]) -> None:
dag_configs: Dict[str, Dict[str, Any]] = self.get_dag_configs()<EOL>default_config: Dict[str, Any] = self.get_default_config()<EOL>for dag_name, dag_config in dag_configs.items():<EOL><INDENT>dag_builder: DagBuilder = DagBuilder(dag_name=dag_name,<EOL>dag_config=dag_config,<EOL>default_config=default_config)<EOL>try:<EOL><INDENT>dag: Dict[str, Union[str, DAG]] = dag_builder.build()<EOL><DEDENT>except Exception as e:<EOL><INDENT>raise Exception(<EOL>f"<STR_LIT>"<EOL>)<EOL><DEDENT>globals[dag["<STR_LIT>"]]: DAG = dag["<STR_LIT>"]<EOL><DEDENT>
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