Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion flask_restplus/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@

from jsonschema import RefResolver

from werkzeug import cached_property

try:
from werkzeug import cached_property
except ImportError:
# Handle werkzeug 1.0.x
from werkzeug.utils import cached_property

from werkzeug.datastructures import Headers
from werkzeug.exceptions import HTTPException, MethodNotAllowed, NotFound, NotAcceptable, InternalServerError
from werkzeug.wrappers import BaseResponse
Expand Down