Skip to content

Commit dbae10c

Browse files
authored
Update data_client.py (viamrobotics#866)
1 parent 24a0661 commit dbae10c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/viam/app/data_client.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,8 +1210,9 @@ async def add_binary_data_to_dataset_by_ids(self, binary_ids: List[BinaryID], da
12101210
12111211
Args:
12121212
binary_ids (List[BinaryID]): The IDs of binary data to add to dataset. To retrieve these IDs,
1213-
navigate to your dataset's page in the Viam app,
1214-
click **...** in the left-hand menu, and click **Copy dataset ID**.
1213+
navigate to your data page, click on an image and copy its File ID from the details tab.
1214+
To retrieve the dataset ID, navigate to your dataset's page in the Viam app,
1215+
and use the left-hand menu to copy the dataset ID.
12151216
dataset_id (str): The ID of the dataset to be added to.
12161217
12171218
For more information, see `Data Client API <https://docs.viam.com/dev/reference/apis/data-client/#addbinarydatatodatasetbyids>`_.
@@ -1250,8 +1251,9 @@ async def remove_binary_data_from_dataset_by_ids(self, binary_ids: List[BinaryID
12501251
12511252
Args:
12521253
binary_ids (List[BinaryID]): The IDs of binary data to remove from dataset. To retrieve these IDs,
1253-
navigate to your dataset's page in the Viam app,
1254-
click **...** in the left-hand menu, and click **Copy dataset ID**.
1254+
navigate to your data page, click on an image and copy its File ID from the details tab. To
1255+
retrieve the dataset ID, navigate to your dataset's page in the Viam app, and use the
1256+
left-hand menu to copy the dataset ID.
12551257
dataset_id (str): The ID of the dataset to be removed from.
12561258
12571259
For more information, see `Data Client API <https://docs.viam.com/dev/reference/apis/data-client/#removebinarydatafromdatasetbyids>`_.

0 commit comments

Comments
 (0)