Skip to content

Commit 5d329d0

Browse files
committed
fix api endpoint path
1 parent 83bab96 commit 5d329d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nucleus/dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def autotag_items(self, autotag_name, for_scores_greater_than=0):
110110
"""
111111
response = self._client.make_request(
112112
payload={AUTOTAG_SCORE_THRESHOLD: for_scores_greater_than},
113-
route=f"autotag/dataset/{self.id}/autotag/{autotag_name}/taggedItems",
113+
route=f"dataset/{self.id}/autotag/{autotag_name}/taggedItems",
114114
requests_command=requests.get,
115115
)
116116
return response
@@ -136,7 +136,7 @@ def autotag_training_items(self, autotag_name):
136136
"""
137137
response = self._client.make_request(
138138
payload={},
139-
route=f"autotag/dataset/{self.id}/autotag/{autotag_name}/trainingItems",
139+
route=f"dataset/{self.id}/autotag/{autotag_name}/trainingItems",
140140
requests_command=requests.get,
141141
)
142142
return response

0 commit comments

Comments
 (0)