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.

is_canceled()

Return True if the result was canceled.

is_failed()

Return True if the result was failed.

is_successful()

Return True if the result was successful.

Attributes

completion_time

Alias for field number 4

exec_time_s

Alias for field number 3

hpc_job_id

Alias for field number 5

name

Alias for field number 0

return_code

Alias for field number 1

status

Alias for field number 2

is_canceled()[source]

Return True if the result was canceled.

is_failed()[source]

Return True if the result was failed.

is_successful()[source]

Return True if the result was successful.

__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