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. Is There A Way To Pass Multiple Pre/Post Execution Callbacks For A Step?

Hi.
is there a way to pass multiple pre/post execution callbacks for a step?

  
  
Posted 3 months ago
Votes Newest

Answers 5


I have multiple combinations of functions I want to call (some steps need some of them while others need all of them, and some need non of them). writing a "do_x_than_y" function for every combination of x_y functions seems messy. wrapping it with support for iterable of functions seems more pythonic IMO.

  
  
Posted 3 months ago

Hi @<1639799308809146368:profile|TritePigeon86> , what is the use case for passing multiple callbacks? Why not have it in the same function simply?

  
  
Posted 3 months ago

I see. I don't think it's supported but I think it would be a great idea for a feature. Maybe Open a Github feature request?

  
  
Posted 3 months ago

cool, where can I submit it?

  
  
Posted 3 months ago
196 Views
5 Answers
3 months ago
3 months ago
Tags