def _dump_spec(spec):
with open("<STR_LIT>", "<STR_LIT:w>") as f:<EOL><INDENT>yaml.dump(spec, f, Dumper=MyDumper, default_flow_style=False)<EOL><DEDENT>
Dump bel specification dictionary using YAML

    Formats this with an extra indentation for lists to make it easier to
    use cold folding on the YAML version of the spec dictionary.