Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Is There A Way To Tag A Task/Dataset "Folder" With The Sdk? In The Ui There Is An Option To Add A Tag To A Certain Project Folder, But In Python It Seems That It Can Be Done Only On Single Task Runs.

Is there a way to tag a task/dataset "folder" with the SDK? In the UI there is an option to add a tag to a certain project folder, but in python it seems that it can be done only on single task runs.
image

  
  
Posted 10 months ago
Votes Newest

Answers 4


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"])
  
  
Posted 10 months ago

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"])
  
  
Posted 10 months ago

Hi @<1523701087100473344:profile|SuccessfulKoala55> , thanks, and how can I get the "id" to use with update for the dataset folder case?

  
  
Posted 10 months ago

This would be the "project" property of the dataset (which you can also get with the APIClient)

  
  
Posted 10 months ago