RuntimeStatus
Lifecycle state reported for a runtime.
Shared
RuntimeStatus declaration
Section titled “RuntimeStatus declaration”class RuntimeStatus(str, Enum):RuntimeStatus attributes
Section titled “RuntimeStatus attributes”| Name | Type or value | Description |
|---|---|---|
RUNNING |
'running' |
The runtime is running and accepts work. |
PAUSED |
'paused' |
The runtime is paused and can be resumed. |
SHUTDOWN |
'shutdown' |
The runtime is shut down. |
CREATING |
'creating' |
The runtime is being created. |
DELETING |
'deleting' |
The runtime is being deleted. |
ERROR |
'error' |
The runtime entered an error state. |
CRASHED |
'crashed' |
The runtime process crashed. |
SUSPENDED |
'suspended' |
The runtime is suspended and can wake on demand. |
RuntimeStatus methods
Section titled “RuntimeStatus methods”from_user()
Section titled “from_user()”Parse a user-provided runtime status name.
def from_user(value: str) -> 'RuntimeStatus'Parameters
Section titled “Parameters”| Name | Type | Default | Description |
|---|---|---|---|
value |
str |
— |
User-provided enum name or alias. |
Returns
Section titled “Returns”'RuntimeStatus'
