def checkJobStatus()

in src/get-feedback.py [0:0]


    def checkJobStatus(self, boundingBoxJobs):
        sageMakerClient = AwsHelper().getClient("sagemaker", self.inputParameters["awsRegion"])
    
        for job in boundingBoxJobs:
            response = sageMakerClient.describe_labeling_job(LabelingJobName=job)
            print("Job: {}, Status: {}".format(job, response["LabelingJobStatus"]))
            jobStatus = response["LabelingJobStatus"]
            while (jobStatus == "InProgress"):
                time.sleep(10)
                response = sageMakerClient.describe_labeling_job(LabelingJobName=job)
                print("Job: {}, Status: {}".format(response["LabelingJobName"], response["LabelingJobStatus"]))
                jobStatus = response["LabelingJobStatus"]