code: def init_dagbag(app):
      """
      Create global DagBag for webserver and API.
  
      To access it use ``flask.current_app.dag_bag``.
      """
      if os.environ.get("SKIP_DAGS_PARSING") == "True":
          app.dag_bag = DagBag(os.devnull, include_examples=False)
      else:
          app.dag_bag = DagBag(DAGS_FOLDER, read_dags_from_db=True)
  
imports: from __future__ import annotations
  import os
  from airflow.models import DagBag
  from airflow.settings import DAGS_FOLDER
label_desc: Use image node_id 1 for calling a global function with example usage: init_dagbag(app) without return types