Skip to content

Commit

Permalink
Fix: Werkzeug 1.0 crash
Browse files Browse the repository at this point in the history
Closes #1359
  • Loading branch information
nicolaiarocci committed Feb 7, 2020
1 parent 4d6613a commit 9812045
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ New

Fixed
~~~~~
- Starup crash with Werkzeug 1.0 (`#1359`_)
- ``$eq`` is missing from supported query opeators (`#1351`_)
- Documentation typos (`#1348`_, `#1350`_)

.. _`#1359`: https://github.com/pyeve/eve/issues/1359
.. _`#1351`: https://github.com/pyeve/eve/issues/1351
.. _`#1350`: https://github.com/pyeve/eve/pull/1350
.. _`#1348`: https://github.com/pyeve/eve/issues/1348
Expand Down
2 changes: 1 addition & 1 deletion eve/methods/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import copy
import simplejson as json
from flask import current_app as app, abort, request
from werkzeug import MultiDict
from werkzeug.datastructures import MultiDict

from .common import (
ratelimit,
Expand Down
3 changes: 1 addition & 2 deletions eve/tests/methods/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
from bson import ObjectId
from bson.dbref import DBRef
from bson.son import SON
from werkzeug.datastructures import ImmutableMultiDict
from werkzeug.datastructures import ImmutableMultiDict, MultiDict
from eve.tests import TestBase
from eve.tests.utils import DummyEvent
from eve.tests.test_settings import MONGO_DBNAME
from eve.utils import str_to_date, date_to_rfc1123
from werkzeug import MultiDict
from eve.methods.get import get_internal, getitem_internal


Expand Down
2 changes: 1 addition & 1 deletion eve/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from datetime import datetime, timedelta
from bson.json_util import dumps
from eve import RFC1123_DATE_FORMAT
from werkzeug import MultiDict
from werkzeug.datastructures import MultiDict


class Config(object):
Expand Down

0 comments on commit 9812045

Please sign in to comment.