idmtools_platform_container.utils.job_history module
idmtools ContainerPlatform JobHistory Utility.
Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.
-
idmtools_platform_container.utils.job_history.initialize()[source]
Initialization decorator for JobHistory.
:returns: Wrapper function
-
class idmtools_platform_container.utils.job_history.JobHistory[source]
Bases: object
Job History Utility for idmtools Container Platform.
-
history = None
-
history_path = PosixPath('/home/docs/.idmtools/idmtools_container_history')
-
classmethod initialization()[source]
Initialize JobHistory.
-
classmethod save_job(*args, **kwargs)[source]
-
classmethod get_job(*args, **kwargs)[source]
-
classmethod get_job_dir(exp_id: str) → str[source]
Get job directory from history.
:param exp_id: Experiment ID
- Returns:
job directory
-
classmethod get_item_path(*args, **kwargs)[source]
-
classmethod view_history(*args, **kwargs)[source]
-
classmethod delete(*args, **kwargs)[source]
-
classmethod expire_history(*args, **kwargs)[source]
-
classmethod clear(*args, **kwargs)[source]
-
classmethod volume(*args, **kwargs)[source]
-
classmethod sync(*args, **kwargs)[source]
-
classmethod count(*args, **kwargs)[source]
-
classmethod container_history(*args, **kwargs)[source]
-
classmethod verify_container(*args, **kwargs)[source]