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