Start the service and wait for its health checks to succeed. Services bound to a Container do not need to be manually started. Raises ------ ExecuteTimeoutError If the time to execute the query exceeds the configured timeout. QueryError
(self)
| 14517 | return await _ctx.execute_object_list(Port) |
| 14518 | |
| 14519 | async def start(self) -> Self: |
| 14520 | """Start the service and wait for its health checks to succeed. |
| 14521 | |
| 14522 | Services bound to a Container do not need to be manually started. |
| 14523 | |
| 14524 | Raises |
| 14525 | ------ |
| 14526 | ExecuteTimeoutError |
| 14527 | If the time to execute the query exceeds the configured timeout. |
| 14528 | QueryError |
| 14529 | If the API returns an error. |
| 14530 | """ |
| 14531 | _args: list[Arg] = [] |
| 14532 | return await self._ctx.execute_sync(self, "start", _args) |
| 14533 | |
| 14534 | async def stop(self, *, kill: bool | None = False) -> Self: |
| 14535 | """Stop the service. |