MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / Client

Class Client

tests/disposableredis/__init__.py:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27
28class Client(redis.StrictRedis):
29 def __init__(self, disposable_redis, port):
30 redis.StrictRedis.__init__(self, port=port)
31 self.dr = disposable_redis
32
33 def retry_with_rdb_reload(self):
34 yield 1
35 self.dr.dump_and_reload()
36 yield 2
37
38
39class DisposableRedis(object):

Callers 1

clientMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected