Skip to content
New issue

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

[Alerta-Mailer] Integration failed with Jinja2 Autoescape extension deprecation #393

Open
mirzacodes opened this issue May 2, 2023 · 0 comments

Comments

@mirzacodes
Copy link

Issue Summary
I am working with Alerta Mailer Integration, however, I have recently faced an issue. The alerta-mailer integration is failing with deprecation of jinja2 extension autoescape. I am attaching screenshot below from the logs.

image

Below link also shows documentation of this issue. This extension has been removed from the jinja2 version 3.0.0+ and it is built-on now.

Proposed fix
This issue can be fixed by removing the 'autoescape' extension from the code line.

extensions=['jinja2.ext.autoescape'],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant