Class AMSFSStageJob¶
Defined in File ams_jobs.py
Inheritance Relationships¶
Base Type¶
public ams_jobs.AMSStageJob(Class AMSStageJob)
Class Documentation¶
- ams_jobs.AMSFSStageJob : public ams_jobs.AMSStageJob
A job description for moving data from the application to the database reading the data from the filessytem.
Public Functions
- __init__(self, Union[Dict[str, Union[str, int]], AMSJobResources] resources, str dest, str url, str src, db_type="dhf5", pattern="*.h5", str src_type="shdf5", Optional[str] prune_module_path=None, Optional[str] prune_class=None, Optional[Mapping[str, str]] environ=None, Optional[str] stdout=None, Optional[str] stderr=None, List[str] cli_args=[], Mapping[str, str] cli_kwargs={})¶
Attaches a callable that will be called when the future finishes. :param name: An arbitary name for every job. This can be an arbitary string. :param executable: A string pointing to the executable to be executed :param environ: The environment to be used when scheduling the job. :param resources: The resources dedicated to this job. :param stdout File to redirect the stdout. :param stderr File to redirect the stderr. :param ams_log: A boolean value to enable the logging of AMS printouts :param is_mpi: Whether the job is an mpi job. :param cli_args: positional arguments of the cli command :param cli_kwargs: key-word arguments of the cli command :return: ``self``