Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

lino.utils.dataserializer

YAML serializer.

Requires PyYaml (http://pyyaml.org/), but that’s checked for in __init__.

Functions

Deserializer(stream_or_string, **options)

Deserialize a stream or string of YAML data.

Classes

DjangoSafeDumper(stream[, default_style, ...])

FakeDeserializedObject(obj)

loaddata requires DeserializedObject instances, but this Deserializer does not bypass pre_save/save methods.

Serializer()

class lino.utils.dataserializer.FakeDeserializedObject(obj)

Bases: DeserializedObject

loaddata requires DeserializedObject instances, but this Deserializer does not bypass pre_save/save methods.

lino.utils.dataserializer.Deserializer(stream_or_string, **options)

Deserialize a stream or string of YAML data.