app/soc/models/job.py
changeset 2216 2ac430aa5799
parent 2212 4095892a3c99
child 2225 c6a0f935504c
equal deleted inserted replaced
2215:c5b7f6bc8c27 2216:2ac430aa5799
    49       choices=['waiting','started','finished', 'aborted'])
    49       choices=['waiting','started','finished', 'aborted'])
    50 
    50 
    51   #: the date this job was last modified on
    51   #: the date this job was last modified on
    52   last_modified_on = db.DateTimeProperty(auto_now_add=True)
    52   last_modified_on = db.DateTimeProperty(auto_now_add=True)
    53 
    53 
    54   #: the amount of times this job raised an Exception (other than an
    54   #: the amount of times this job raised an Exception (other than a
    55   #: DeadlineExceededException).
    55   #: DeadlineExceededException).
    56   errors = db.IntegerProperty(default=0)
    56   errors = db.IntegerProperty(default=0)
    57 
    57 
    58   #: the data that the worker will use to process this job
    58   #: the data that the worker will use to process this job
    59   text_data = db.TextProperty(required=False, default="")
    59   text_data = db.TextProperty(required=False, default="")