sripathikrishnan / jinjasql

Template Language for SQL with Automatic Bind Parameter Extraction
MIT License
820 stars 90 forks source link

Fixing Attribute error for autoescape #58

Open jieqiangt opened 7 months ago

jieqiangt commented 7 months ago

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.