flowserv.util.serialize module
Helper methods for object serialization and deserialization.
- flowserv.util.serialize.to_dict(args: List[Dict]) Dict
Convert a list of serialized key-value pairs into a dictionary that maps the keys to their values.
- Parameters
args (list) – List of dictionary serializations for key-value pairs.
- Return type
dict
- flowserv.util.serialize.to_kvp(key: str, value: str) Dict
Serialize a key-value pair into a dictionary.
- Parameters
key (string) – Key value
value (string) – Associate value for the key.
- Return type
dict