MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / reset

Method reset

camel/runtime/docker_runtime.py:319–326  ·  view source on GitHub ↗

r"""Reset the DockerRuntime instance. Returns: DockerRuntime: The DockerRuntime instance.

(self)

Source from the content-addressed store, hash-verified

317 return self
318
319 def reset(self) -> "DockerRuntime":
320 r"""Reset the DockerRuntime instance.
321
322 Returns:
323 DockerRuntime: The DockerRuntime instance.
324 """
325
326 return self.stop().build()
327
328 def stop(self, remove: Optional[bool] = None) -> "DockerRuntime":
329 r"""stop the Docker container.

Callers

nothing calls this directly

Calls 2

stopMethod · 0.95
buildMethod · 0.45

Tested by

no test coverage detected