dstandish commented on code in PR #47618:
URL: https://github.com/apache/airflow/pull/47618#discussion_r1989969488
##########
airflow/dag_processing/bundles/manager.py:
##########
@@ -54,44 +100,20 @@ def parse_config(self) -> None:
if self._bundle_config:
return
- backends = conf.getjson("dag_processor", "dag_bundle_config_list")
-
- if not backends:
+ config_list = conf.getjson("dag_processor", "dag_bundle_config_list")
+ if not config_list:
return
-
- if not isinstance(backends, list):
- raise AirflowConfigException(
- "Bundle config is not a list. Check config value"
- " for section `dag_processor` and key
`dag_bundle_config_list`."
- )
-
- if any(b["name"] == "example_dags" for b in backends):
+ if not isinstance(config_list, list):
Review Comment:
I assumed mypy might get grumpy when we iterate below so i left it outside
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]