MCPcopy Create free account
hub / github.com/Claw-AI-Lab/Claw-AI-Lab / factory

Function factory

backend/agent/scripts/test_code_agent_sandbox.py:122–123  ·  view source on GitHub ↗
(exp_config, workdir: Path)

Source from the content-addressed store, hash-verified

120def make_sandbox_factory(docker_cfg: DockerSandboxConfig):
121 """Return a factory function that creates DockerSandbox instances."""
122 def factory(exp_config, workdir: Path):
123 return DockerSandbox(docker_cfg, workdir)
124 return factory
125
126

Callers

nothing calls this directly

Calls 1

DockerSandboxClass · 0.90

Tested by

no test coverage detected