Skip to content

Deprecate worker version usage

In Arkindex 1.4.0, we'll block worker version writes so the base worker must not send any worker version in its API calls. This seems to be already the case, and I only saw a bunch of remaining worker version usages:

  • in BaseWorker.configure, the self.worker_version_id should be replaced by a property that raise a deprecation warning.
  • in ListElementChildren, usage must stay supported but should log a deprecation warning (not raise) when it's set.
  • in ListTranscriptions and ListTranscriptionEntities, deprecate worker_version arg, add worker_run arg.
  • WorkerVersionMixin should all log a deprecation warning whenever used
Edited by Yoann Schneider