Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP3:Update
python-flask-restplus
002-Update-cached_property-import-for-werkzeug-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 002-Update-cached_property-import-for-werkzeug-1.0.patch of Package python-flask-restplus
From 148e3a7a52e4963350c1dd138e58557f015223c4 Mon Sep 17 00:00:00 2001 From: czerw <petr@cervinka.net> Date: Wed, 22 Apr 2020 18:41:12 +0200 Subject: [PATCH] Update cached_property import for werkzeug 1.0 --- flask_restplus/api.py | 2 +- flask_restplus/fields.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flask_restplus/api.py b/flask_restplus/api.py index 3727650..a2fed69 100644 --- a/flask_restplus/api.py +++ b/flask_restplus/api.py @@ -21,7 +21,7 @@ from flask.signals import got_request_exception from jsonschema import RefResolver -from werkzeug import cached_property +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 diff --git a/flask_restplus/fields.py b/flask_restplus/fields.py index 7e75700..5bc96dc 100644 --- a/flask_restplus/fields.py +++ b/flask_restplus/fields.py @@ -14,7 +14,7 @@ from six import iteritems, itervalues, text_type, string_types from six.moves.urllib.parse import urlparse, urlunparse from flask import url_for, request -from werkzeug import cached_property +from werkzeug.utils import cached_property from .inputs import date_from_iso8601, datetime_from_iso8601, datetime_from_rfc822, boolean from .errors import RestError -- 2.26.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor