stilt.config.RuntimeSettings#

class stilt.config.RuntimeSettings(*, db_url: str | None = None, cache_dir: pathlib.Path | None = None, compute_root: pathlib.Path | None = None, max_rows: Annotated[int | None, Ge(ge=1)] = None) None[source]#

Typed runtime settings shared across CLI, workers, and executors.

Parameters#

Parameter

Description

Default

db_url

Database URL for a shared simulation index backend.

None

cache_dir

Directory for cached downloads and reusable runtime artifacts.

None

compute_root

Scratch or worker-local root used for active simulation workdirs.

None

max_rows

Maximum number of index rows to claim or process in one batch.

None

Methods#

from_env()

Build runtime settings from the process environment.