A stubb for RedisConfigStorage (WIP)
This commit is contained in:
parent
efdc151282
commit
9d60fde0b8
@ -24,3 +24,14 @@ class InMemoryConfigStorage(ConfigStorageInterface):
|
|||||||
return self._config_hash[key]
|
return self._config_hash[key]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
class RedisConfigStorage(ConfigStorageInterface):
|
||||||
|
|
||||||
|
def __init__(self, connection, prefix):
|
||||||
|
self._connection = connection
|
||||||
|
self._prefix = prefix
|
||||||
|
|
||||||
|
def get(self, key):
|
||||||
|
# TODO: Implement. this is just a stub
|
||||||
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user