PodInfo
from lium.sdk import PodInfo
Defined in lium.sdk.models.
PodInfo(
id: str,
name: str,
status: str,
huid: str,
ssh_cmd: Optional[str],
ports: Dict,
created_at: str,
updated_at: str,
executor: Optional[lium.sdk.models.ExecutorInfo],
template: Dict,
removal_scheduled_at: Optional[str],
jupyter_installation_status: Optional[str],
jupyter_url: Optional[str],
enable_volume_encryption: bool | None = None,
volume_encryption_status: str | None = None,
estimated_ready_seconds: int | None = None,
eta_basis: str | None = None,
phase: str | None = None,
gpu_count: Optional[int] = None,
workspace_id: Optional[str] = None,
cluster_id: Optional[str] = None,
cluster_node_index: Optional[int] = None,
cluster_overlay_ip: Optional[str] = None,
api_key_id: Optional[str] = None,
api_key_name: Optional[str] = None,
api_key_stamped: bool = False
)
Fields
| Name | Type | Default |
|---|---|---|
id | str | |
name | str | |
status | str | |
huid | str | |
ssh_cmd | Optional[str] | |
ports | Dict | |
created_at | str | |
updated_at | str | |
executor | Optional[ExecutorInfo] | |
template | Dict | |
removal_scheduled_at | Optional[str] | |
jupyter_installation_status | Optional[str] | |
jupyter_url | Optional[str] | |
enable_volume_encryption | bool | None |
volume_encryption_status | str | None |
estimated_ready_seconds | int | None |
eta_basis | str | None |
phase | str | None |
gpu_count | Optional[int] | None |
workspace_id | Optional[str] | None |
cluster_id | Optional[str] | None |
cluster_node_index | Optional[int] | None |
cluster_overlay_ip | Optional[str] | None |
api_key_id | Optional[str] | None |
api_key_name | Optional[str] | None |
api_key_stamped | bool | False |
Properties
Methods
| Method | Description |
|---|---|
eta_hint | One line for a pod that is still starting, e.g. est. ready in ~18 s (phase: pulling image). |
eta_hint
def eta_hint() -> Optional[str]:
One line for a pod that is still starting, e.g. est. ready in ~18 s (phase: pulling image).
None when the API sent neither an estimate nor a phase (older backend, or the pod is
already RUNNING).