File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ defaults:
14
14
shell : bash -eux {0}
15
15
16
16
env :
17
- MONGODB_VERSION : 8 .0
17
+ MONGODB_VERSION : 7 .0
18
18
19
19
jobs :
20
20
build :
Original file line number Diff line number Diff line change 29
29
from bson import json_util , SON
30
30
from bson .errors import InvalidId
31
31
from bson .objectid import ObjectId
32
- from flask import abort , json as flask_json
32
+ from flask import abort
33
+ from json import JSONEncoder
33
34
from six import iteritems , string_types
34
35
from werkzeug .routing import BaseConverter
35
36
import pymongo
@@ -83,7 +84,7 @@ def to_url(self, value):
83
84
return str (value )
84
85
85
86
86
- class JSONEncoder (flask_json . JSONEncoder ):
87
+ class JSONEncoder (JSONEncoder ):
87
88
88
89
"""A JSON encoder that uses :mod:`bson.json_util` for MongoDB documents.
89
90
You can’t perform that action at this time.
0 commit comments