Skip to content

Remove ARKINDEX_CORPUS_ID usage

Now that we retrieve all information from RetrieveWorkerRun we could also retrieve the corpus_id from self.process_information["corpus"] instead of reading from the environment variable ARKINDEX_CORPUS_ID. This attribute could then be used for the get_ml_class_id and create_entity helpers.