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
+ 5
0
@@ -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))
Loading