sequential.seq_distributor
Sequential distributor that runs one task at a time.
Attributes
Classes
Dictionary for exit info. |
|
Executor to run tasks one at a time. |
|
Get Executor Info for a Task Instance. |
Module Contents
- class sequential.seq_distributor.LimitedSizeDict(*args: int, **kwds: int)[source]
Bases:
collections.OrderedDictDictionary for exit info.
- class sequential.seq_distributor.SequentialDistributor(cluster_name: str, exit_info_queue_size: int = 1000, *args: tuple, **kwargs: dict)[source]
Bases:
jobmon.core.cluster_protocol.ClusterDistributorExecutor to run tasks one at a time.
- abstract get_queueing_errors(distributor_ids: List[str]) Dict[str, str][source]
Get the task instances that have errored out.
- get_remote_exit_info(distributor_id: str) Tuple[str, str][source]
Get exit info from task instances that have run.
- get_submitted_or_running(distributor_ids: List[str] | None = None) Set[str][source]
Check status of running task.
- class sequential.seq_distributor.SequentialWorkerNode[source]
Bases:
jobmon.core.cluster_protocol.ClusterWorkerNodeGet Executor Info for a Task Instance.
- initialize_logfile(log_type: str, log_dir: str, name: str) str[source]
Error and exit code info from the executor.