Skip to content

Commit

Permalink
Update werkzeug import
Browse files Browse the repository at this point in the history
- `cached_property` was deprecated in Werkzeug>0.16.1
- a replacement is available in `werkzeug.utils`

Example issue:
noirbizarre/flask-restplus#777
  • Loading branch information
DavidCDreher committed Aug 31, 2020
1 parent 5686cf0 commit e7b0ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flaskext/genshi.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from genshi.template import (NewTextTemplate, MarkupTemplate,
loader, TemplateLoader)
from werkzeug import cached_property
from werkzeug.utils import cached_property
from flask import current_app

try:
Expand Down

0 comments on commit e7b0ff6

Please sign in to comment.