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

Method stop

tests/disposableredis/__init__.py:151–157  ·  view source on GitHub ↗
(self, for_restart=False)

Source from the content-addressed store, hash-verified

149 pass
150
151 def stop(self, for_restart=False):
152 if self._is_external:
153 return
154
155 self.process.terminate()
156 if not for_restart:
157 self._cleanup_files()
158
159 def __enter__(self):
160 self.start()

Calls 1

_cleanup_filesMethod · 0.95