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
Hi Everyone! How Can I Filter Archived Tasks In

Hi everyone! How can I filter archived tasks in Task.get_tasks() ? There is an option allow_archived for .get_task() , but not for .get_task s ()

  
  
Posted one year ago
Votes Newest

Answers 2


Hi ThoughtfulGrasshopper59 !

You're right, we should probably add the convenient allow_archived function in .get_task s () as well.
That said, for now this can be a workaround:

` from clearml import Task

print([task.name for task in Task.get_tasks(
project_name="TAO Toolkit ClearML Demo",
task_filter=dict(system_tags=['archived'])
)]) Specifically task_filter=dict(system_tags=['archived']) ` should be what you need.

  
  
Posted one year ago

ExasperatedCrab78 thx!

  
  
Posted one year ago