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

Method __init__

camel/runtime/remote_http_runtime.py:44–53  ·  view source on GitHub ↗
(
        self, host: str, port: int = 8000, python_exec: str = "python3"
    )

Source from the content-addressed store, hash-verified

42 """
43
44 def __init__(
45 self, host: str, port: int = 8000, python_exec: str = "python3"
46 ):
47 super().__init__()
48 self.host = host
49 self.port = port
50 self.python_exec = python_exec
51 self.api_path = Path(__file__).parent / "api.py"
52 self.entrypoint: Dict[str, str] = dict()
53 self.process: Optional[Popen] = None
54
55 def build(self) -> "RemoteHttpRuntime":
56 r"""Build the API server.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected