adam.adam_processing_results_processor module¶
-
class
adam.adam_processing_results_processor.
ApsRestServiceResultsProcessor
(rest, project)¶ Bases:
object
AdamProcessingService REST service to check job status and results
-
__init__
(rest, project)¶ Initialize self. See help(type(self)) for accurate signature.
-
check_status
(job_uuid)¶ Check the status of a job.
- Parameters
job_uuid (str) – the job id.
- Returns
the job status.
- Return type
str
-
get_results
(job_uuid)¶ Get the results of a job.
- Parameters
job_uuid (str) – The job id.
- Returns
The job result, in JSON format:
{ "uuid": id of the result record (string), "jobUuid": job id (string), "outputSummaryJson": the output summary e.g. counts (json), "outputDetailsJson": the output details e.g. final positions (json) }
- Return type
str
-