Skip to content
Snippets Groups Projects
Commit 34ed7276 authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 03a3fb08
No related branches found
No related tags found
1 merge request!72Drop DataSource handling
Pipeline #78403 passed
......@@ -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"]
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