docs: def merge_configs(config: Dict[str, Any], default_config: Dict[str, Any]) -> Dict[str, Any]:
      """
      Merges a `default` config with DAG config. Used to set default values
      for a group of DAGs.
  
      :param config: config to merge in default values
      :type config:  Dict[str, Any]
      :param default_config: config to merge default values from
      :type default_config: Dict[str, Any]
      :returns: dict with merged configs
      :type: Dict[str, Any]
      """
      for key in default_config:
          if key in config:
              if isinstance(config[key], dict) and isinstance(default_config[key], dict):
                  merge_configs(config[key], default_config[key])
          else:
              config[key]: Any = default_config[key]
      return config