Skip to content
Snippets Groups Projects
Commit b71e5970 authored by Manon Blanco's avatar Manon Blanco
Browse files

Configuration is always set

parent cd23a6e7
No related branches found
No related tags found
No related merge requests found
Pipeline #160996 passed
......@@ -266,7 +266,7 @@ class BaseWorker:
model_version = worker_run.get("model_version")
if model_version:
logger.info("Loaded model version configuration from WorkerRun")
self.model_configuration.update(model_version.get("configuration", {}))
self.model_configuration.update(model_version["configuration"])
# Set model_version ID as worker attribute
self.model_version_id = model_version["id"]
......
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