MCPcopy Create free account
hub / github.com/catid/supercharger / shutdown

Method shutdown

codegen/docker_execute.py:37–41  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35 )
36
37 def shutdown(self):
38 if not self.container is None:
39 self.container.stop()
40 self.container.remove()
41 self.container = None
42
43 # Execute a command under `sources` that depends on the given script. By default it runs the given script.
44 def execute(self, script_filename=None, command=None, timeout=10):

Callers 3

recreate_containerMethod · 0.95
executeMethod · 0.95
benchmark_docker_executeFunction · 0.95

Calls

no outgoing calls

Tested by 1

benchmark_docker_executeFunction · 0.76