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 Programatically Access The Tasks A

Is there a way to programatically access the tasks a PipelineController launched? I have the clearml.Task object in hand and I wonder how to access all the tasks that are related to it

  
  
Posted 2 years ago
Votes Newest

Answers 11


WackyRabbit7 I don't believe there is currently a 'children' section for a task. You could try managing the children to access them later.

One option is add_pipeline_tags(True) this should mark all the child tasks with a tag of the parent task

  
  
Posted 2 years ago

SuccessfulKoala55

  
  
Posted 2 years ago

By access do you mean do Task.get_task() ?

  
  
Posted 2 years ago

I want to get the instances of the tasks executed by this controller task

  
  
Posted 2 years ago

In the UI you can add 'parent' column and filter by parent

  
  
Posted 2 years ago

I need code access, not UI access

  
  
Posted 2 years ago

Yes, I have the controller task in hand

  
  
Posted 2 years ago

IIRC these tasks have the pipeline as parent, so getting them and using the parent in the task_filter should work, I guess

  
  
Posted 2 years ago

👍

  
  
Posted 2 years ago

IIRC these tasks have the pipeline as parent, so getting them and using the 

parent

 in the task_filter should work, I guess

🙂

  
  
Posted 2 years ago

How do I get all children tasks given a parent?

  
  
Posted 2 years ago
641 Views
11 Answers
2 years ago
one year ago
Tags