Package schrodinger :: Package application :: Package desmond :: Module cmj :: Class JobStatus
[hide private]
[frames] | no frames]

Class JobStatus

object --+
         |
        JobStatus

Instance Methods [hide private]
 
__eq__(self, other)
 
__init__(self, code=101)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__ne__(self, other)
 
__str__(self)
str(x)
 
is_good(self)
 
is_retriable(self)
 
set(self, code, error=None)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  BACKEND_ERROR = 201
  FILE_CORRUPT = 306
  FILE_NOT_FOUND = 305
  FIZZLED = 303
  KILLED = 302
  LAUNCH_FAILURE = 304
  NON_RETRIABLE_FAILURE = 299
  PERMANENT_LICENSE_FAILURE = 202
  RETRIABLE_FAILURE = 399
  RUNNING = 102
  STRANDED = 307
  STRING = {101: 'is waiting for launching', 102: 'is running', ...
  SUCCESS = 103
  TEMPORARY_LICENSE_FAILURE = 301
  WAITING = 101
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, code=101)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__

Class Variable Details [hide private]

STRING

Value:
{101: 'is waiting for launching',
 102: 'is running',
 103: 'was successfully finished',
 201: 'died due to backend error',
 202: 'could not run due to permanent license failure',
 301: 'died due to temporary license failure',
 302: 'was killed',
 303: 'fizzled',
...