Skip to content
Snippets Groups Projects
Commit 8a0ac525 authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

DOC added documentation for a function in yaml API

parent ea5763be
No related branches found
No related tags found
1 merge request!13F documentation data models
...@@ -73,6 +73,11 @@ def dict_to_xml(d): ...@@ -73,6 +73,11 @@ def dict_to_xml(d):
def yaml_to_xml(yamlstr): def yaml_to_xml(yamlstr):
"""
yamlstr: The string to load the yaml document from.
Loads a yaml document from yamlstr and converts
it to XML.
"""
return dict_to_xml(yaml.load(yamlstr)) return dict_to_xml(yaml.load(yamlstr))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment