Esempio n. 1
0
    def load_test_data(self, model_name: str, **_):
        """
        Create test indices in Elasticsearch for QA.

        :param model_name: the name of the media type
        """

        create_search_qa_index(model_name)
        if self.progress is not None:
            self.progress.value = 100  # mark job as completed
Esempio n. 2
0
 def load_test_data():
     """ Create test indices in Elasticsearch for QA. """
     create_search_qa_index()