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")
Escape special characters +-&|!(){}[]^"~*?:\ - 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
Jinja2 Template to show the list of response objects

Hi, in Python Symphony Bot, I want to create a Jinja2 Template that can handle a list of objects that is returned by database call.
Can someone give me how the template should look like?

Posted one year ago
Votes Newest


Please refer to Jinja2 documentation. Jinja2 is packaged separately from the Python BDK as an example in the generator project only to demonstrate how templating can be achieved. You are expected to have prior experience with Jinja2 or templating in general to employ its use with the BDK.

Posted one year ago
Yong Sheng Tan
39 × 2 Administrator
1 Answer
one year ago
one year ago