def __init__(self, key, expires=60, timeout=10):

        self.key = "%s-lock" % key
        self.timeout = timeout
        self.expires = expires

        self.datastore = redis.StrictRedis(**dict([(x.lower(), y) for x, y in settings.REDIS[settings.LOCK_DATASTORE].items()]))
Create a table in a tablespace
dataset/ETHPy150Open crate-archive/crate-site/crateweb/apps/crate/utils/lock.py/Lock.__init__--crossover with--dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_tablespace.py/ToSqlTestCase.test_create_table