Jinja filters¶
In addition to the built-in filters,
we have also defined custom Jinja filters that can be used in pipe and system configurations. Most of these filters
have a corresponding DTL function and should produce the same output, e.g. the bytes
filter should give the same
results as the bytes
DTL function. Note that underscores are used in place of dashes in filter names, as
opposed to DTL functions.
Custom Jinja filters¶
Filter |
Description |
Arguments |
Example usage |
---|---|---|---|
|
See the bytes DTL function. |
||
|
See the base64-encode DTL function. |
||
|
See the base64-decode DTL function. |
||
|
See the datetime DTL function. |
||
|
See the datetime-format DTL function. |
||
|
Decodes a JWT given a (public) key. |
key |
|