We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any interest in including something like this:
https://github.com/miracle2k/jinja2utils/blob/master/src/jinja2utils/match.py
I have just written this code a second time, needing it again and not remembering I had already implemented it once.
It seems to fit very well alongside joiner() and cycler(), and presumably is a common usecase.
The text was updated successfully, but these errors were encountered:
Not a bad idea. Though the default should probably be undefined for consistency with the inline if expression.
Sorry, something went wrong.
Which value specifically do you suggest should default to undefined?
I have implemented the code as-is here:
https://github.com/miracle2k/jinja2/compare/90-matcher
No branches or pull requests
Any interest in including something like this:
https://github.com/miracle2k/jinja2utils/blob/master/src/jinja2utils/match.py
I have just written this code a second time, needing it again and not remembering I had already implemented it once.
It seems to fit very well alongside joiner() and cycler(), and presumably is a common usecase.
The text was updated successfully, but these errors were encountered: