hpcflow.sdk.config.callbacks#

Module that defines built-in callback functions for configuration item values.

Functions

callback_bool

Callback that coerces values to boolean.

callback_file_paths

Callback that resolves file paths.

callback_lowercase

Callback that forces a string to lower case.

callback_scheduler_set_up

Invoked on set of schedulers.

callback_supported_schedulers

Callback that tests that all values are names of supported schedulers.

callback_supported_shells

Callback that tests if a shell names is supported on this OS.

callback_update_log_console_level

Callback to set the logging level.

callback_vars

Callback that substitutes configuration variables.

check_load_data_files

Check data files (e.g., task schema files) can be loaded successfully.

exists_in_schedulers

Callback that tests that a value is a supported scheduler name.

set_callback_file_paths

Check the file(s) is/are accessible.

set_scheduler_invocation_match

Invoked on set of default_scheduler.