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 Folks, I Have A Question On

Hi folks, I have a question on Pipeline Configuration Object

I can access the configuration object through the API client ( client.tasks.get_by_id(task_id).configuration . But it is in this string format, and not straightforward to parse. Is there a better way to do this. I am trying to find the corresponding task_ids in the pipeline so that i can get status for them individually ?

  
  
Posted one year ago
Votes Newest

Answers


hi ObedientToad56
the API will return you raw objetcs, thus not dictionary
you can use the SDK. For example, if task_id is your pipeline main task id, then you can retrieve the configuration objects this way :

task = Task.get_task(task_id=task_id) config = task.get_configuration_object_as_dict('Pipeline') for k in list(config.keys()): print(f'Step {k} has job id {config[k]["job_id"]}')

  
  
Posted one year ago
575 Views
1 Answer
one year ago
one year ago
Tags