We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
warnings
1 parent f07681f commit f965bbfCopy full SHA for f965bbf
src/pyconverter/xml2py/utils/utils.py
@@ -78,6 +78,9 @@ def get_warning_command_dict(yaml_path: Path) -> dict:
78
Path object of the YAML file.
79
"""
80
warnings_ = get_config_data_value(yaml_path, "warnings")
81
+ if warnings_ is None:
82
+ logger.info("No warning commands found in the YAML file.")
83
+ return {}
84
warning_command_dict = {}
85
for warning_ in warnings_:
86
message = warning_["msg"]
0 commit comments