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, I Have A Question Regarding The New

Hi, I have a question regarding the new PipelineDecorator feature and it's about how to access the task created by PipelineDecorator.pipeline through its ID from any of its pipeline components/steps

  
  
Posted 2 years ago
Votes Newest

Answers 6


Hi GiganticTurtle0 ,

You have all the tasks that are part of the pipeline in an execution table (with links) under plots section, does it helps?

  
  
Posted 2 years ago

Oh, I see. I guess somehow I can retrieve that information via Task.logger , since it is stored in JSON format? Thanks!

  
  
Posted 2 years ago

You can always get the running task (the pipeline in your case) with Task.current_task().task_id

  
  
Posted 2 years ago

But I was actually asking about accessing the Pipeline task ID, not the tasks corresponding to the components.

  
  
Posted 2 years ago

But when I call Task.current_task().task_id within the code of one of the pipeline components, I get the task ID of the component itself. I want the pipeline task ID

  
  
Posted 2 years ago

If you want to get the pipeline task from a pipeline step, try Task.current_task().parent

  
  
Posted 2 years ago