> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enums

> Runtimes, regions, drives, and the status values of job runs and task runs.

```python theme={"system"}
from wherobots import JobStatus, Region, Runtime
```

## AppStatus

Lifecycle status of the Kube app backing a run (OpenAPI `AppStatus`).

#### Values

**DEPLOY\_FAILED** `AppStatus`

`'DEPLOY_FAILED'`

**DEPLOYED** `AppStatus`

`'DEPLOYED'`

**DEPLOYING** `AppStatus`

`'DEPLOYING'`

**DESTROY\_FAILED** `AppStatus`

`'DESTROY_FAILED'`

**DESTROY\_REQUESTED** `AppStatus`

`'DESTROY_REQUESTED'`

**DESTROYED** `AppStatus`

`'DESTROYED'`

**DESTROYING** `AppStatus`

`'DESTROYING'`

**INIT\_FAILED** `AppStatus`

`'INIT_FAILED'`

**INITIALIZING** `AppStatus`

`'INITIALIZING'`

**PENDING** `AppStatus`

`'PENDING'`

**PREPARE\_FAILED** `AppStatus`

`'PREPARE_FAILED'`

**PREPARING** `AppStatus`

`'PREPARING'`

**READY** `AppStatus`

`'READY'`

**REQUESTED** `AppStatus`

`'REQUESTED'`

## AppType

Kube app types attached to a run (OpenAPI `AppType`).

#### Values

**JUPYTER** `AppType`

`'JUPYTER'`

**RUN** `AppType`

`'RUN'`

**SQL\_SESSION** `AppType`

`'SQL_SESSION'`

## DependencyFileType

File types for `FILE` dependencies (from OpenAPI `DependencyFileType`).

#### Values

**JAR** `DependencyFileType`

`'JAR'`

**OTHER** `DependencyFileType`

`'OTHER'`

**PYTHON\_WHEEL** `DependencyFileType`

`'PYTHON_WHEEL'`

**ZIP** `DependencyFileType`

`'ZIP'`

## DependencyType

Dependency source types (OpenAPI `DependencySourceType`).

#### Values

**FILE** `DependencyType`

`'FILE'`

**PYPI** `DependencyType`

`'PYPI'`

## Drive

Files drives a caller can address through `Wherobots().files`.

`MY_FILES` is the caller's personal file area in one region. A shared
drive would be a new member here plus one branch in the drive resolver.

#### Values

**MY\_FILES** `Drive`

`'my_files'`

## is\_terminal\_status

```python theme={"system"}
is_terminal_status(status: JobStatus | str | None) -> bool
```

Return True if *status* is a known terminal state.

Accepts a `JobStatus`, a raw string (e.g. an API-added status
the SDK doesn't yet know about), or `None`. Unknown strings are
treated as **non-terminal** — conservative so callers keep polling
rather than bailing early on a new running/transitional state.

#### Parameters

**status** `JobStatus | str | None` *required*

## JobStatus

Job run status values (from OpenAPI `RunStatus`).

#### Values

**CANCELLED** `JobStatus`

`'CANCELLED'`

**COMPLETED** `JobStatus`

`'COMPLETED'`

**FAILED** `JobStatus`

`'FAILED'`

**PENDING** `JobStatus`

`'PENDING'`

**RUNNING** `JobStatus`

`'RUNNING'`

### is\_terminal

```python theme={"system"}
JobStatus.is_terminal: bool
```

Return `True` if this status represents a finished run.

## Region

Known AWS regions for Wherobots deployments.

Region is a **free-form string** in the Wherobots API — this enum
lists regions that exist today for convenience, but the API may
add new regions at any time. SDK call sites that accept a region
(e.g. `WherobotsJob(region=...)`) always accept a plain string
as well, so unknown regions are never blocked client-side.

#### Values

**AP\_SOUTH\_1** `Region`

`'aws-ap-south-1'`

**EU\_WEST\_1** `Region`

`'aws-eu-west-1'`

**US\_EAST\_1** `Region`

`'aws-us-east-1'`

**US\_WEST\_2** `Region`

`'aws-us-west-2'`

## Runtime

Available Wherobots compute runtime sizes.

The values match the lowercase `RuntimeId` strings accepted by the
API. This enum is a **convenience subset** — the API also accepts
legacy uppercase values (`TINY`, `SMALL`, `MEDIUM`, `LARGE`,
`XLARGE`, `XXLARGE`) and may add new runtimes at any time. Where
the SDK accepts a runtime argument (e.g. `WherobotsJob(runtime=...)`)
it also accepts a plain string, so unknown runtimes are never
blocked client-side.

#### Values

**DOUBLE\_X\_LARGE** `Runtime`

`'2x-large'`

**DOUBLE\_X\_LARGE\_HICPU** `Runtime`

`'2x-large-hicpu'`

**DOUBLE\_X\_LARGE\_HIMEM** `Runtime`

`'2x-large-himem'`

**DOUBLE\_X\_LARGE\_MATCHER** `Runtime`

`'2x-large-matcher'`

**LARGE** `Runtime`

`'large'`

**LARGE\_HIMEM** `Runtime`

`'large-himem'`

**MEDIUM** `Runtime`

`'medium'`

**MEDIUM\_HIMEM** `Runtime`

`'medium-himem'`

**MICRO** `Runtime`

`'micro'`

**QUAD\_X\_LARGE** `Runtime`

`'4x-large'`

**QUAD\_X\_LARGE\_HIMEM** `Runtime`

`'4x-large-himem'`

**SMALL** `Runtime`

`'small'`

**TINY** `Runtime`

`'tiny'`

**X\_LARGE** `Runtime`

`'x-large'`

**X\_LARGE\_HICPU** `Runtime`

`'x-large-hicpu'`

**X\_LARGE\_HIMEM** `Runtime`

`'x-large-himem'`

**X\_LARGE\_MATCHER** `Runtime`

`'x-large-matcher'`

## TaskRunState

Task run states (OpenAPI `TaskRunState`).

#### Values

**CANCELLED** `TaskRunState`

`'CANCELLED'`

**CANCELLING** `TaskRunState`

`'CANCELLING'`

**FAILED** `TaskRunState`

`'FAILED'`

**MISSED** `TaskRunState`

`'MISSED'`

**PENDING** `TaskRunState`

`'PENDING'`

**REJECTED** `TaskRunState`

`'REJECTED'`

**RUNNING** `TaskRunState`

`'RUNNING'`

**SKIPPED** `TaskRunState`

`'SKIPPED'`

**SUBMITTED** `TaskRunState`

`'SUBMITTED'`

**SUCCEEDED** `TaskRunState`

`'SUCCEEDED'`

**TIMED\_OUT** `TaskRunState`

`'TIMED_OUT'`

**UNKNOWN** `TaskRunState`

`'UNKNOWN'`

### is\_active

```python theme={"system"}
TaskRunState.is_active: bool
```

Return `True` while the run may still change state.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.