diff --git a/biothings/utils/configuration.py b/biothings/utils/configuration.py index b3ac94933..db91d22f4 100644 --- a/biothings/utils/configuration.py +++ b/biothings/utils/configuration.py @@ -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 @@ -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.")