Loading ccserver/jobs.py +11 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,17 @@ class BaseJob(dict, Thread, object): ''' A base class to define a job. The standards job items are: * id: id of the job * status: message explaining the current job status * done: True if the job is done * cancelled: True if job has been cancelled by user * created: job date of creation * ended: job date of end (or None if done = False) * duration: duration in seconds of the job (processed on export) * author: author login of the job :param manager: the :class:`JobsManager` instance. ''' Loading Loading
ccserver/jobs.py +11 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,17 @@ class BaseJob(dict, Thread, object): ''' A base class to define a job. The standards job items are: * id: id of the job * status: message explaining the current job status * done: True if the job is done * cancelled: True if job has been cancelled by user * created: job date of creation * ended: job date of end (or None if done = False) * duration: duration in seconds of the job (processed on export) * author: author login of the job :param manager: the :class:`JobsManager` instance. ''' Loading