jade.extensions.generic_command.generic_command_parameters.GenericCommandParameters¶
- class jade.extensions.generic_command.generic_command_parameters.GenericCommandParameters(**kwargs)[source]¶
Bases:
JobParametersInterface
A class used for creating a job for a generic command.
Methods
deserialize
(data)Deserialize parameters from a dictionary.
Return the job names blocking this job.
Return True if the job is a Spark job.
remove_blocking_job
(name)Remove the name from the job's blocking list.
Serialize data to a dictionary.
set_blocking_jobs
(blocking_jobs)Set the blocking jobs.
Attributes
DELIMITER
Return False if the job should be canceled if any blocking job fails.
command
Return the estimated execution time or None if it isn't known.
Return the extension name.
model
Return the job name.
Return the submission group for the job.
- parameters_type¶
alias of
GenericCommand
- property estimated_run_minutes¶
Return the estimated execution time or None if it isn’t known.
- Return type:
float | None
- property extension¶
Return the extension name.
- Return type:
str
- property name¶
Return the job name. The job name must be unique in a configuration and must be usable as a directory or file name on any filesystem.
- Return type:
str
- classmethod deserialize(data)[source]¶
Deserialize parameters from a dictionary.
- Parameters:
data (dict)
- Return type:
- property cancel_on_blocking_job_failure¶
Return False if the job should be canceled if any blocking job fails.
- Return type:
bool
- get_blocking_jobs()[source]¶
Return the job names blocking this job.
- Returns:
Empty set means that the job is not blocked.
- Return type:
set
- remove_blocking_job(name)[source]¶
Remove the name from the job’s blocking list.
- Parameters:
name (str) – name of job that is now finished
- property submission_group¶
Return the submission group for the job.