# DefaultRunOptions<!-- -->

The default settings applied to an Actor run. Can be overridden elsewhere.

## Index[**](#Index)

### Properties

* [**build](https://docs.apify.com/api/client/python/api/client/python/reference/class/DefaultRunOptions.md#build)
* [**force\_permission\_level](https://docs.apify.com/api/client/python/api/client/python/reference/class/DefaultRunOptions.md#force_permission_level)
* [**max\_items](https://docs.apify.com/api/client/python/api/client/python/reference/class/DefaultRunOptions.md#max_items)
* [**memory\_mbytes](https://docs.apify.com/api/client/python/api/client/python/reference/class/DefaultRunOptions.md#memory_mbytes)
* [**model\_config](https://docs.apify.com/api/client/python/api/client/python/reference/class/DefaultRunOptions.md#model_config)
* [**restart\_on\_error](https://docs.apify.com/api/client/python/api/client/python/reference/class/DefaultRunOptions.md#restart_on_error)
* [**timeout\_secs](https://docs.apify.com/api/client/python/api/client/python/reference/class/DefaultRunOptions.md#timeout_secs)

## Properties<!-- -->[**](#Properties)

### [**](#build)build

**build: str | None

Which build to run. Either a build tag or a version number.

### [**](#force_permission_level)force\_permission\_level

**force\_permission\_level: [ActorPermissionLevel](https://docs.apify.com/api/client/python/api/client/python/reference.md#ActorPermissionLevel) | None

### [**](#max_items)max\_items

**max\_items: int | None

Maximum number of items the run might produce.

### [**](#memory_mbytes)memory\_mbytes

**memory\_mbytes: int | None

In MB, the amount of memory allocated to the run.

### [**](#model_config)model\_config

**model\_config: Undefined

### [**](#restart_on_error)restart\_on\_error

**restart\_on\_error: bool | None

Whether to automatically restart the run if it fails.

### [**](#timeout_secs)timeout\_secs

**timeout\_secs: int | None

Timeout in seconds. 0 if no timeout.
