JobConfig
JobConfig(backend, path, success_func=None, finished_func=None, post_func=None, max_retries=0, tags=None, parent_tags=None, job_type=<Type.BATCH: 0>, output=None, starttime=None)
Config class for the Job class. Stores all necessary information to load the Job at a later time. All properties are assigned with a custom getter function, which keeps track of updates to the respective property (tracked with the "update" variable).
backendBackend instance used for the job setup.pathPath of the job's snapshot file.success_funcSuccess function used for the job setup.finished_funcFinished function used for the job setup.post_funcPost execution function used for the job setup.max_retriesMaximum number of retries that are attempted when job is failing.tagsList of tags attached to the job.parent_tagsList of parent tags attached to the job.job_typeDefine the type of the job.outputOutput file of the job.starttimeTimestamp at which job is started by the JobHandler.
Member functions
add_tags
JobConfig.add_tags(self, tags, is_parent=False)
Add a list of tags to the tags associated to the job.
tagsTags to be added.is_parentTags are added as parent tags.