Skip to content

JobConfig class

Bases: UniqueSection

Configuration fields related to the task orchestration and the jobs' executions.

Attributes

id instance-attribute

id: str = _validate_id(id)

A valid python identifier that uniquely identifies the section.

is_development property

is_development: bool

True if the config is set to development mode

is_standalone property

is_standalone: bool

True if the config is set to standalone mode

mode instance-attribute

mode: Optional[str] = mode

The task orchestration mode.

By default, the "development" mode is set for testing and debugging the executions of jobs. A "standalone" mode is also available.

In the Taipy Enterprise Edition, the "cluster" mode is available.

properties property writable

properties

A dictionary of additional properties.

Methods

default_config() classmethod

default_config() -> JobConfig

Return a default configuration for the job execution.

Returns:

Type Description
JobConfig

The default job execution configuration.