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

Method __exit__

tests/disposableredis/__init__.py:163–166  ·  view source on GitHub ↗
(self, exc_type, exc_val, exc_tb)

Source from the content-addressed store, hash-verified

161 return self.client()
162
163 def __exit__(self, exc_type, exc_val, exc_tb):
164 self.stop()
165 if exc_val or self.errored:
166 sys.stderr.write("Redis output: {}\n".format(self._get_output()))
167
168 def _wait_for_child(self):
169 # Wait until file is available

Callers

nothing calls this directly

Calls 2

stopMethod · 0.95
_get_outputMethod · 0.95

Tested by

no test coverage detected