(
self, host: str, port: int = 8000, python_exec: str = "python3"
)
| 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. |
nothing calls this directly
no outgoing calls
no test coverage detected