Skip to content

Commit

Permalink
Remove unused imports in configuration.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sengineer0 committed Jul 25, 2022
1 parent 699f0d9 commit cd0c8d3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions biothings/utils/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from copy import deepcopy
from dataclasses import asdict, dataclass, field
from importlib import import_module
from pymongo.errors import AutoReconnect

from biothings.utils.dataload import dict_traverse
from biothings.utils.jsondiff import make as jsondiff
Expand Down Expand Up @@ -267,8 +266,6 @@ def store_value_to_db(self, name, value):
return res

def get_value_from_db(self, name):
from biothings.utils.mongo import MaxRetryAutoReconnectException

if not self._db: # without db, only support module params.
raise AttributeError("Transient parameter requires DB setup.")

Expand Down

0 comments on commit cd0c8d3

Please sign in to comment.