Skip to content

Commit e473c81

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a9e4266 commit e473c81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ipyparallel/controller/mongodb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
except ImportError:
1212
from bson import Binary
1313

14+
from bson.codec_options import CodecOptions
1415
from traitlets import Dict, Instance, List, Unicode
1516

1617
from .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

0 commit comments

Comments
 (0)