A stubb for RedisConfigStorage (WIP)

This commit is contained in:
Rafa de la Torre 2016-09-29 13:07:40 +02:00
parent efdc151282
commit 9d60fde0b8

View File

@ -24,3 +24,14 @@ class InMemoryConfigStorage(ConfigStorageInterface):
return self._config_hash[key]
except KeyError:
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