File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1111except ImportError :
1212 from bson import Binary
1313
14+ from bson .codec_options import CodecOptions
1415from traitlets import Dict , Instance , List , Unicode
1516
1617from .dictdb import BaseDB
17- from bson .codec_options import CodecOptions
1818
1919# we need to determine the pymongo version because of API changes. see
2020# https://pymongo.readthedocs.io/en/stable/migrate-to-pymongo4.html
@@ -63,7 +63,7 @@ def __init__(self, **kwargs):
6363 options = CodecOptions (tz_aware = True )
6464 self ._db = self ._connection [self .database ]
6565 self ._records = self ._db .get_collection ("task_records" , options )
66- #self._records = self._db['task_records']
66+ # self._records = self._db['task_records']
6767
6868 if pymongo_version_major >= 4 :
6969 # mimic the old API 3.x
You can’t perform that action at this time.
0 commit comments