AsyncRunta
Main asynchronous client for runtimes, secrets, and checkpoints.
Async · Sync counterpart:
Runta
AsyncRunta declaration
Section titled “AsyncRunta declaration”class AsyncRunta:AsyncRunta construction
Section titled “AsyncRunta construction”AsyncRunta(*, token: str | None = None, endpoint: str | None = None, config_path: str | Path | None = None, timeout: float = 30.0)AsyncRunta attributes
Section titled “AsyncRunta attributes”| Name | Type or value | Description |
|---|---|---|
runtimes | AsyncRuntimeManager | Return the runtime manager. |
secrets | AsyncSecretManager | Return the tenant secret manager. |
checkpoints | AsyncCheckpointManager | Return the tenant checkpoint manager. |
AsyncRunta methods
Section titled “AsyncRunta methods”close()
Section titled “close()”Release client resources.
async def close() -> Nonehealth()
Section titled “health()”Return whether the Runta API is reachable.
async def health() -> boolReturns
Section titled “Returns”bool