To update tags on a dataset version (task), use:
from clearml.backend_api.session.client import APIClient
client = APIClient()
# update tags for a dataset folder
client.tasks.update(task="id", tags=["bar"])
Hi @<1523701087100473344:profile|SuccessfulKoala55> , thanks, and how can I get the "id" to use with update
for the dataset folder case?
This would be the "project" property of the dataset (which you can also get with the APIClient)
Hi @<1570220858075516928:profile|SlipperySheep79> , you can use the APIClient
to do that, like this:
from clearml.backend_api.session.client import APIClient
client = APIClient()
# update tags for a dataset folder
client.projects.update(project="id", tags=["foo"])