Serializers
lume_services.files.serializers.image
Classes
ImageSerializer
Bases: SerializerBase
Pillow image serializer.
Functions
serialize
serialize(filename, image: Image)
Source code in lume_services/files/serializers/image.py
8 9 |
|
deserialize
classmethod
deserialize(filename) -> Image
Source code in lume_services/files/serializers/image.py
11 12 13 14 |
|
lume_services.files.serializers.text
Classes
TextSerializer
Bases: SerializerBase
Functions
serialize
serialize(filename, text)
Source code in lume_services/files/serializers/text.py
5 6 7 8 |
|
deserialize
classmethod
deserialize(filename)
Source code in lume_services/files/serializers/text.py
10 11 12 13 14 15 16 17 18 |
|
lume_services.files.serializers.yaml
Classes
YAMLSerializer
Bases: SerializerBase
Functions
serialize
serialize(filename, object: List[dict]) -> None
Source code in lume_services/files/serializers/yaml.py
7 8 9 10 |
|
deserialize
classmethod
deserialize(filename: str) -> List[dict]
Source code in lume_services/files/serializers/yaml.py
12 13 14 15 16 17 18 19 20 21 22 23 24 |
|