Ejemplo n.º 1
0
def client():
    client = StrictRedis()
    try:
        yield client
    finally:
        client.flushdb()