Skip to content

Fixing Attribute error for autoescape#58

Open
jieqiangt wants to merge 1 commit into
sripathikrishnan:masterfrom
jieqiangt:fix_autoescape_attr_error
Open

Fixing Attribute error for autoescape#58
jieqiangt wants to merge 1 commit into
sripathikrishnan:masterfrom
jieqiangt:fix_autoescape_attr_error

Conversation

@jieqiangt
Copy link
Copy Markdown

AttributeError: module 'jinja2.ext' has no attribute 'autoescape' due to following reason:
Jinja2 3.1, WithExtension and AutoEscapeExtension are built-in now thus are no longer needed.

Removed addition of autoescape extension from JinjaSql object.

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

Successfully merging this pull request may close these issues.

1 participant