pyslk.StatusJob

pyslk.StatusJob#

class pyslk.StatusJob(status_str: str)#
__init__(status_str: str)#

Converts a string representing the status of a recall job into a status_job object

Possible values for status_str are:

PAUSED, PAUSING, QUEUED, PROCESSING, COMPLETED, COMPLETING, ABORTED, ABORTING

Parameters:

status_str (str) – status of a recall job

Methods

__init__(status_str)

Converts a string representing the status of a recall job into a status_job object

get_possible_stati()

get_status()

return the status as integer

get_status_name()

has_failed()

is_completed()

is_finished()

is_paused()

is_processing()

is_queued()

is_successful()

Attributes

ABORTED

COMPLETED

FAILED

PAUSED

PROCESSING

QUEUED

STATI

SUCCESSFUL