Skip to content

Commit

Permalink
fix(client): use "extraInfo" to replace "labelType" in create_job
Browse files Browse the repository at this point in the history
  • Loading branch information
graczhual committed Apr 6, 2022
1 parent 29d8a32 commit 6efc6c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tensorbay/client/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,9 @@ def create_job(

for new_filter in new_filters:
new_filter["title"] = _KEY_TO_TITLES[new_filter["key"]]
label_type = new_filter.pop("labelType", None)
if label_type:
new_filter["extraInfo"] = {"labelType": label_type}

arguments = {
"commit": self._status.commit_id,
Expand Down

0 comments on commit 6efc6c7

Please sign in to comment.