fermilink.workspace.hpc module

fermilink.workspace.hpc.cmd_hpc(args)[source]
Parameters:

args (Namespace)

Return type:

int

fermilink.workspace.hpc.default_hpc_profile_path()[source]
Return type:

Path

fermilink.workspace.hpc.ensure_default_hpc_profile()[source]
Return type:

tuple[Path, bool, bool]

fermilink.workspace.hpc.legacy_hpc_profile_path()[source]
Return type:

Path

fermilink.workspace.hpc.load_hpc_profile_payload(path)[source]
Parameters:

path (Path)

Return type:

dict[str, str]

fermilink.workspace.hpc.normalize_hpc_profile_payload(raw_profile, *, profile_label)[source]
Parameters:
  • raw_profile (dict[str, object])

  • profile_label (str)

Return type:

dict[str, str]

fermilink.workspace.hpc.set_hpc_profile(source_file, destination_file=None)[source]
Parameters:
  • source_file (Path)

  • destination_file (Path | None)

Return type:

Path