uranusjr commented on a change in pull request #16442:
URL: https://github.com/apache/airflow/pull/16442#discussion_r651705140
##########
File path: airflow/configuration.py
##########
@@ -92,7 +92,7 @@ def _default_config_file_path(file_name: str):
return os.path.join(templates_dir, file_name)
-def default_config_yaml() -> dict:
+def default_config_yaml() -> List[dict]:
Review comment:
https://pyyaml.org/wiki/PyYAMLDocumentation
> `safe_load(stream)` parses the given stream and returns a Python object
constructed from for the first document in the stream. If there are no
documents in the stream, it returns `None`. `safe_load` recognizes only
standard YAML tags and cannot construct an arbitrary Python object.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]