Skip to content
Snippets Groups Projects

Remove ARKINDEX_CORPUS_ID usage

Merged Thibault Lavigne requested to merge remove-arkindex-corpus-id-usage into master
10 files
+ 122
153
Compare changes
  • Side-by-side
  • Inline
Files
10
@@ -119,6 +119,7 @@ class BaseWorker(object):
logger.info(f"Worker will use {self.work_dir} as working directory")
self.process_information = None
self.corpus_id = None
self.user_configuration = {}
self.support_cache = support_cache
# use_cache will be updated in configure() if the cache is supported and if there
@@ -188,6 +189,9 @@ class BaseWorker(object):
# Load process information
self.process_information = worker_run["process"]
# Load corpus id
self.corpus_id = worker_run["process"]["corpus"]
# Load worker version information
worker_version = worker_run["worker_version"]
self.worker_details = worker_version["worker"]
Loading