def message_from_string(s, *args, **kws):
    from email.parser import Parser
    return Parser(*args, **kws).parsestr(s)
Prepare a variable for adding it to a Dataset
dataset/ETHPy150Open babble/babble/include/jython/Lib/email/__init__.py/message_from_string--crossover with--dataset/ETHPy150Open pydata/xarray/xarray/core/merge.py/_as_dataset_variable