Skip to content

Commit

Permalink
[SWAT-428][external] Make imports V2 work with non-default team (#433)
Browse files Browse the repository at this point in the history
* Make imports V2 work with non-default team
  • Loading branch information
rslota authored Aug 30, 2022
1 parent 2707abb commit efd324e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion darwin/dataset/remote_dataset_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,4 +427,4 @@ def import_annotation(self, item_id: ItemId, payload: Dict[str, Any]) -> None:
`{"annotations": serialized_annotations, "overwrite": "false"}`
"""

self.client.api_v2.import_annotation(item_id, payload=payload)
self.client.api_v2.import_annotation(item_id, payload=payload, team_slug=self.team)
2 changes: 1 addition & 1 deletion darwin/version/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.7.19"
__version__ = "0.7.20"

0 comments on commit efd324e

Please sign in to comment.