Section Description
Overview Overview of Jinja2 filters, chaining filters and attributes.
default If the value is undefined it will return the passed default value, otherwise the value of the variable.
map Applies a filter on a sequence of objects or looks up an attribute. This is useful when dealing with lists of objects but you are really only interested in a certain value of it.

Alternatively you can let it invoke a filter by passing the name of the filter and the arguments afterwards.

selectattr Filters a sequence of objects by applying a test to the specified attribute of each object, and only selecting the objects with the test succeeding.

If no test is specified, the attribute’s value will be evaluated as a boolean.