Skip to content
Snippets Groups Projects
Commit a991ded7 authored by Manon Blanco's avatar Manon Blanco Committed by Yoann Schneider
Browse files

Store model_version details regardless of model version configuration

parent a6016b8d
No related branches found
No related tags found
1 merge request!500Store model_version details regardless of model version configuration
......@@ -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 = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment