Note
This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the user guide for the big picture.
hopla.ccc.DelayedCCCJob¶
- class hopla.ccc.DelayedCCCJob(delayed_submission, executor, job_id, backend='flux')[source]¶
Bases:
DelayedJobRepresents a job that have been queue for submission by an executor, but hasn’t yet been scheduled.
- Parameters:
- delayed_submission: DelayedSubmission
a delayed submission allowing to generate the command line to execute.
- executor: Executor
base job executor.
- job_id: str
the job identifier.
- backend: str, default ‘flux’
the multi-taks backend to use: ‘flux’, ‘joblib’ or ‘oneshot’.
- Raises:
- ValueError
If an invalid backend is specified.
- classmethod read_index(string)[source]¶
Reads the output of of pcocc-rs image list and returns a list available container.
- property start_command¶
Return the start job command.
- property stop_command¶
Return the stop job command.