hpcflow.sdk.core.task_schema#

Abstract task, prior to instantiation.

Module attributes

SAVE_FILES_PATH_PREFIX

Prefix marking a save_files entry as a working-directory path rather than a declared file label.

Functions

split_save_files_policy

Split a list-valued save_files policy into declared file labels and path:-prefixed working-directory paths (with the prefix removed).

validate_save_files_policy

Validate a file-retention policy against the files declared by a schema.

Classes

MetaTaskSchema

Class to represent a task schema with no actions, that can be used to represent the effect of multiple task schemas.

TaskObjective

A thing that a task is attempting to achieve.

TaskSchema

Class to represent the inputs, outputs and implementation mechanism of a given task.