mautrix.client.state_store.memory

class mautrix.client.state_store.MemoryStateStore

Bases: mautrix.client.StateStore

__init__()
Return type

None

deserialize(data)

Parse a previously serialized dict into this state store.

Parameters

data (mautrix.client.state_store.memory.SerializedStateStore) – A dict returned by serialize().

Return type

None

serialize()

Convert the data in the store into a JSON-friendly dict.

Returns: A dict that can be safely serialized with most object serialization methods.

Return type

mautrix.client.state_store.memory.SerializedStateStore