hpcflow.sdk.core.task_schema.validate_save_files_policy#

hpcflow.sdk.core.task_schema.validate_save_files_policy(policy, file_labels)#

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

A list-valued policy may contain declared file labels and path:-prefixed paths (optionally with glob patterns) relative to the working directory.

Parameters:
Return type:

bool | list[str] | None