snorkelflow.rich_docs.Serializable
- class snorkelflow.rich_docs.Serializable
Bases:
ABC
Interface for types that have a custom serialization / deserialization function.
- __init__()
Methods
__init__
()deserialize
(serialized)- rtype:
Any
- rtype:
str
- abstract classmethod deserialize(serialized)
- Return type:
Any
- abstract serialize()
- Return type:
str