diff --git a/arkindex_worker/worker.py b/arkindex_worker/worker.py index 86a5ae55bdeb8987095560c5aae456b4f9599a29..1068e684d5c5b46a34fc0266efac108cb95b5437 100644 --- a/arkindex_worker/worker.py +++ b/arkindex_worker/worker.py @@ -889,7 +889,7 @@ class ElementsWorker(BaseWorker): ), "worker_version should be of type str" query_params["worker_version"] = worker_version - if self.use_cache: + if self.cache: # Checking that we only received query_params handled by the cache assert set(query_params.keys()) <= { "name",