Skip to content
Snippets Groups Projects

F documentation data models

Merged Alexander Schlemmer requested to merge f-documentation-data-models into dev
1 file
+ 7
4
Compare changes
  • Side-by-side
  • Inline
+ 7
4
@@ -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))
Loading