MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / create_client

Method create_client

benchmarks/src/environment/hq.py:317–320  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

315 return result
316
317 def create_client(self, **kwargs) -> Client:
318 if "python_env" not in kwargs:
319 kwargs["python_env"] = PythonEnv(prologue=f"source {os.environ['VIRTUAL_ENV']}/bin/activate")
320 return Client(self.server_dir, **kwargs)
321
322 def _shared_args(self) -> List[str]:
323 return [str(self.binary_path), "--server-dir", str(self.server_dir)]

Callers 1

executeMethod · 0.80

Calls 2

PythonEnvClass · 0.90
ClientClass · 0.90

Tested by

no test coverage detected