Skip to content
Snippets Groups Projects

F deprecate yamlapi

Merged Alexander Kreft requested to merge f-deprecate-yamlapi into dev
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
+ 4
4
@@ -22,10 +22,8 @@
# ** end header
#
""" YAML interface for the database (caosdb) """
""" !!! Deprecated !!! """
""" YAML interface for the database (caosdb)
!!! Deprecated !!! """
import yaml
@@ -36,6 +34,8 @@ import caosdb
import caosdb.common.utils as utils
from caosdb.connection.connection import get_connection
import warnings
def append_sublist(v, newel, def_entity_type):
warnings.warn("""
This function is deprecated and will be removed with the next release.
@@ -102,7+102,7 @@
"""
return dict_to_xml(yaml.load(yamlstr))
def process(text):
"""Do some replacements on the original file to obtain valid yaml."""
warnings.warn("""
Loading