You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following filters are those that are shipped with Jinja2 and enabled within Infrahub. The trusted column indicates if the filter is allowed for use with Infrahub's computed attributes when the server is configured in strict mode.
The following filters are those that are shipped with Jinja2 and enabled within Infrahub. The trusted column indicates if the filter is allowed for use with Infrahub's computed attributes when the server is configured in strict mode.
9
+
10
+
| Name | Trusted |
11
+
|----------|----------|
12
+
| abs | ✅ |
13
+
| attr | ❌ |
14
+
| batch | ❌ |
15
+
| capitalize | ✅ |
16
+
| center | ✅ |
17
+
| count | ✅ |
18
+
| d | ✅ |
19
+
| default | ✅ |
20
+
| dictsort | ❌ |
21
+
| e | ✅ |
22
+
| escape | ✅ |
23
+
| filesizeformat | ✅ |
24
+
| first | ✅ |
25
+
| float | ✅ |
26
+
| forceescape | ✅ |
27
+
| format | ✅ |
28
+
| groupby | ❌ |
29
+
| indent | ✅ |
30
+
| int | ✅ |
31
+
| items | ❌ |
32
+
| join | ✅ |
33
+
| last | ✅ |
34
+
| length | ✅ |
35
+
| list | ✅ |
36
+
| lower | ✅ |
37
+
| map | ❌ |
38
+
| max | ✅ |
39
+
| min | ✅ |
40
+
| pprint | ❌ |
41
+
| random | ❌ |
42
+
| reject | ❌ |
43
+
| rejectattr | ❌ |
44
+
| replace | ✅ |
45
+
| reverse | ✅ |
46
+
| round | ✅ |
47
+
| safe | ❌ |
48
+
| select | ❌ |
49
+
| selectattr | ❌ |
50
+
| slice | ✅ |
51
+
| sort | ❌ |
52
+
| string | ✅ |
53
+
| striptags | ✅ |
54
+
| sum | ✅ |
55
+
| title | ✅ |
56
+
| tojson | ❌ |
57
+
| trim | ✅ |
58
+
| truncate | ✅ |
59
+
| unique | ❌ |
60
+
| upper | ✅ |
61
+
| urlencode | ✅ |
62
+
| urlize | ❌ |
63
+
| wordcount | ✅ |
64
+
| wordwrap | ✅ |
65
+
| xmlattr | ❌ |
66
+
67
+
## Netutils filters
68
+
69
+
The following Jinja2 filters from <ahref="https://netutils.readthedocs.io">netutils</a> are included within Infrahub.
0 commit comments