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.
1 parent 152f97c commit 07555f2Copy full SHA for 07555f2
src/wireviz/wireviz.py
@@ -88,6 +88,9 @@ def parse(
88
raise Exception("No output formats or return types specified")
89
90
yaml_data, yaml_file = _get_yaml_data_and_path(inp)
91
+ assert isinstance(
92
+ yaml_data, dict
93
+ ), f"Expected a dict as top-level YAML input, but got: {type(yaml_data)}"
94
if output_formats:
95
# need to write data to file, determine output directory and filename
96
output_dir = _get_output_dir(yaml_file, output_dir)
0 commit comments