jobflow_remote.jobs.batch module#
- class jobflow_remote.jobs.batch.LocalBatchManager(files_dir: str | Path, process_id: str)[source]#
Bases:
object
Manager of local files containing information about Jobs to be handled by a batch worker.
Used in the worker to executes the batch Jobs.
- class jobflow_remote.jobs.batch.RemoteBatchManager(host: BaseHost, files_dir: str | Path)[source]#
Bases:
object
Manager of remote files containing information about Jobs to be handled by a batch worker.
Used by the Runner.
- Parameters:
host – The host where the files are.
files_dir – The full path to directory where the files are stored.
- get_submitted() list[str] [source]#
Get a list of files present in the submitted directory.
- Return type:
The list of file names in the directory.