flask_waffleconf.util¶
-
flask_waffleconf.util.
deserialize
(data)¶ Deserialize data using base64 encoding and pickle.
Parameters: data (str) – Data to deserialize (must be in base64 and pickled) Returns: Unpickled object.
-
flask_waffleconf.util.
serialize
(data)¶ Serialize data using pickle and converting it to a base64 string.
Parameters: data – data to serialize (must be picklable) Returns: Serialized object.