def get_labeling_job_name()

in comprehend_groundtruth_integration/src/comprehend_customer_scripts/GroundTruth/DocumentClassifier/groundtruth_to_comprehend_clr_format_converter.py [0:0]


    def get_labeling_job_name(self, index, jsonLine_input):
        job_name = None
        for key, value in jsonLine_input.items():
            if "-metadata" in key:
                job_name = key

        if job_name is None:
            raise Exception(CANNOT_PARSE_AUGMENTED_MANIFEST.substitute(line=index,
                                                                       file_name=self.groundtruth_manifest_file_name))
        return job_name