diff --git a/matrix_client/client.py b/matrix_client/client.py index 1f9e6bfd..c3909c64 100644 --- a/matrix_client/client.py +++ b/matrix_client/client.py @@ -35,16 +35,15 @@ def __init__(self, **kwargs): def __contains__(self, item): return item in self._values + class Cache(Enum): def __init__(self): - Enum.__init__(self, - NONE = -1, - SOME = 0, - ALL = 1 - ) + Enum.__init__(self, NONE = -1, SOME = 0, ALL = 1) + CACHE = Cache() + class MatrixClient(object): """ The client API for Matrix. For the raw HTTP calls, see MatrixHttpApi.