diff --git a/arkindex_worker/worker/base.py b/arkindex_worker/worker/base.py index d638df80e9e4bfa79541092fec7adf6b37ed45fb..765afd43959e330d37beb3b69ab193a7b97ea642 100644 --- a/arkindex_worker/worker/base.py +++ b/arkindex_worker/worker/base.py @@ -148,6 +148,13 @@ class BaseWorker: # there is at least one available sqlite database either given or in the parent tasks self.use_cache = False + # model_version_id will be updated in configure() using the worker_run's model version + # or in configure_for_developers() from the environment + self.model_version_id = None + # model_details will be updated in configure() using the worker_run's model version + # or in configure_for_developers() from the environment + self.model_details = {} + # task_parents will be updated in configure_cache() if the cache is supported, # if the task ID is set and if no database is passed as argument self.task_parents = []