pyfarm.models.jobtype module¶
Job Type Models¶
Models and objects dedicated to handling information which is specific
to an individual job. See pyfarm.models.job
for more the more
general implementation.
-
class
pyfarm.models.jobtype.
JobType
(**kwargs)[source]¶ Bases:
flask_sqlalchemy.Model
,pyfarm.models.core.mixins.UtilityMixins
,pyfarm.models.core.mixins.ReprMixin
Stores the unique information necessary to execute a task
-
REPR_COLUMNS
= ('id', 'name')¶
-
description
¶ Human readable description of the job type. This field is not required and is not directly relied upon anywhere.
-
fail_body
¶ The email body to use for notifications in in case of success. Some substitutions, for example for the job title, are available.
-
fail_subject
¶ The subject line to use for notifications in case of failure. Some substitutions, for example for the job title, are available.
-
id
¶ Provides an id for the current row. This value should never be directly relied upon and it’s intended for use by relationships.
-
jobgroups
¶
-
name
¶ The name of the job type. This can be either a human readable name or the name of the job type class itself.
-
success_body
¶ The email body to use for notifications in in case of success. Some substitutions, for example for the job title, are available.
-
success_subject
¶ The subject line to use for notifications in case of success. Some substitutions, for example for the job title, are available.
-
versions
¶
-