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
Apparently a few of the Jinja2 builtin filters are not supported by jinja2schema. I came across this while trying to explore jinja2schema and using my templates with "lower" filter.
How to reproduce
The following simple snippet can be used to reproduce the issue.
from jinja2schema import infer
infer("{{var|lower}}")
Looking at the list of jinja2 builtin filters, and jinja2schema visit_filters method, here is the list of filters for which support is not available: 'lower', 'max', 'min', 'reverse', 'tojson', 'unique'.
System Configuration
Python version - 3.7.6
Jinja2 version - 2.11.2
jinja2schema versio - 0.1.4
Windows 10
The text was updated successfully, but these errors were encountered:
Apparently a few of the Jinja2 builtin filters are not supported by jinja2schema. I came across this while trying to explore jinja2schema and using my templates with "lower" filter.
How to reproduce
The following simple snippet can be used to reproduce the issue.
Looking at the list of jinja2 builtin filters, and jinja2schema visit_filters method, here is the list of filters for which support is not available: 'lower', 'max', 'min', 'reverse', 'tojson', 'unique'.
System Configuration
Python version - 3.7.6
Jinja2 version - 2.11.2
jinja2schema versio - 0.1.4
Windows 10
The text was updated successfully, but these errors were encountered: