Skip to content
Snippets Groups Projects

F documentation data models

Merged Alexander Schlemmer requested to merge f-documentation-data-models into dev
All threads resolved!
Files
4
+ 8
0
@@ -73,6 +73,14 @@ def dict_to_xml(d):
@@ -73,6 +73,14 @@ 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.
 
 
Parameters
 
----------
 
yamlstr : str
 
The string to load the yaml document from.
 
 
"""
return dict_to_xml(yaml.load(yamlstr))
return dict_to_xml(yaml.load(yamlstr))
Loading