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
How To Read A Params File In Pipeline Decorater

How to read a params file in pipeline decorater

  
  
Posted one year ago
Votes Newest

Answers 4


I have a json file specifying some required input for my executing pipeline function. So how can I give that to connect the pipeline to my input

  
  
Posted one year ago

Is their anything similar to this in a Pipeline Decorater

Task.current_task().connect_configuration('my_conf.json', name="my conf file")
  
  
Posted one year ago

The pipeline itself is also a task, so this line works in a pipeline. Task.current_task is a class method that returns the running task (pipeline in our case), then then the usual interface. BTW what are you having in the conf file ?

  
  
Posted one year ago

Hi @<1533619725983027200:profile|BattyHedgehong22>
Can you elaborate ? what do you mean params file ?
Is this something like:

Task.current_task().connect_configuration('my_conf.json', name="my conf file")
  
  
Posted one year ago
635 Views
4 Answers
one year ago
one year ago
Tags