jade.result.Result¶
- class jade.result.Result(name, return_code, status, exec_time_s, completion_time=None, hpc_job_id=None)[source]¶
Bases:
Result
Result class containing data after jobs have finished. completion_time will be populated when result created and passed in when deserializing
- name¶
- Type:
str
- return_code¶
- Type:
int
- status¶
- Type:
str
- exec_time_s¶
- Type:
int
- completion_time¶
- Type:
int (default current timestamp)
Create new instance of Result(name, return_code, status, exec_time_s, completion_time, hpc_job_id)
Methods
count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Return True if the result was canceled.
Return True if the result was failed.
Return True if the result was successful.
Attributes
Alias for field number 4
Alias for field number 3
Alias for field number 5
Alias for field number 0
Alias for field number 1
Alias for field number 2
- __add__(value, /)¶
Return self+value.
- __mul__(value, /)¶
Return self*value.
- completion_time¶
Alias for field number 4
- count(value, /)¶
Return number of occurrences of value.
- exec_time_s¶
Alias for field number 3
- hpc_job_id¶
Alias for field number 5
- index(value, start=0, stop=9223372036854775807, /)¶
Return first index of value.
Raises ValueError if the value is not present.
- name¶
Alias for field number 0
- return_code¶
Alias for field number 1
- status¶
Alias for field number 2