runtraj.execution.BackendConfig#
- class runtraj.execution.BackendConfig(*, cpus: Annotated[int, Ge(ge=1)] = 1, fetch: bool | runtraj.execution.config.FetchConfig = False) None[source]#
A backend’s block under
execution: the settings of one place a project runs.LocalConfig,SlurmConfigandKubernetesConfigsubclass it, and so does the block of a backend in another package (runtraj.execution.Backend). Every block hascpus, the releases a task runs at once, andfetch, whether the met files are got once before the releases run.tasksis how many tasks share the releases, andcheck()refuses a block its backend cannot run with.
Parameters#
Parameter |
Description |
Default |
|---|---|---|
|
Releases a task runs at once. |
|
|
Get the met files a met with |
|
Attributes#
The number of tasks that share the releases (one, unless a subclass says more). |
Methods#
|
Raise |