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

Method __enter__

tests/disposableredis/__init__.py:159–161  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

157 self._cleanup_files()
158
159 def __enter__(self):
160 self.start()
161 return self.client()
162
163 def __exit__(self, exc_type, exc_val, exc_tb):
164 self.stop()

Callers

nothing calls this directly

Calls 2

startMethod · 0.95
clientMethod · 0.95

Tested by

no test coverage detected