Skip to content
Snippets Groups Projects
Commit eaefb51b authored by florian's avatar florian
Browse files

DOC: format docstring

parent 7d39d92e
No related branches found
No related tags found
1 merge request!13F documentation data models
Pipeline #10532 passed
...@@ -73,10 +73,13 @@ def dict_to_xml(d): ...@@ -73,10 +73,13 @@ def dict_to_xml(d):
def yaml_to_xml(yamlstr): def yaml_to_xml(yamlstr):
""" """Load a yaml document from yamlstr and converts it to XML.
yamlstr: The string to load the yaml document from.
Loads a yaml document from yamlstr and converts Parameters
it to XML. ----------
yamlstr : str
The string to load the yaml document from.
""" """
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