Skip to content
Snippets Groups Projects

Drop DataSource handling

Merged Erwan Rouchet requested to merge drop-datasource into master
All threads resolved!
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -23,7 +23,7 @@ class WorkerVersionMixin(object):
Gets the worker version slug from cache if possible, otherwise makes an API request.
Returns None if there is no associated worker version.
:type ml_result: Element, classification or transcription
:type worker_version_id: A worker version UUID
"""
worker_version = self.get_worker_version(worker_version_id)
return worker_version["worker"]["slug"]
Loading