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
This commit is part of merge request !13. Comments created here will be created in the context of that merge request.
......@@ -73,10 +73,13 @@ def dict_to_xml(d):
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.
"""Load a yaml document from yamlstr and converts it to XML.
Parameters
----------
yamlstr : str
The string to load the yaml document from.
"""
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