From 47fccd2f333c42a4652d936938e78b8deba3bb7c Mon Sep 17 00:00:00 2001 From: jschaff Date: Mon, 25 Nov 2024 14:07:52 -0800 Subject: [PATCH] Isolate the custom cache storage imports --- biothings_client/client/asynchronous.py | 2 +- biothings_client/client/base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/biothings_client/client/asynchronous.py b/biothings_client/client/asynchronous.py index 308a06e..f7ae636 100644 --- a/biothings_client/client/asynchronous.py +++ b/biothings_client/client/asynchronous.py @@ -31,7 +31,6 @@ ) from biothings_client.__version__ import __version__ from biothings_client._dependencies import _CACHING, _PANDAS -from biothings_client.cache.storage import AsyncBiothingsClientSqlite3Cache from biothings_client.mixins.gene import MyGeneClientMixin from biothings_client.mixins.variant import MyVariantClientMixin from biothings_client.utils.copy import copy_func @@ -42,6 +41,7 @@ if _CACHING: import hishel + from biothings_client.cache.storage import AsyncBiothingsClientSqlite3Cache logger = logging.getLogger("biothings.client") logger.setLevel(logging.INFO) diff --git a/biothings_client/client/base.py b/biothings_client/client/base.py index 65d8920..4b1ab09 100644 --- a/biothings_client/client/base.py +++ b/biothings_client/client/base.py @@ -31,7 +31,6 @@ ) from biothings_client.__version__ import __version__ from biothings_client._dependencies import _CACHING, _PANDAS -from biothings_client.cache.storage import BiothingsClientSqlite3Cache from biothings_client.mixins.gene import MyGeneClientMixin from biothings_client.mixins.variant import MyVariantClientMixin from biothings_client.utils.copy import copy_func @@ -42,6 +41,7 @@ if _CACHING: import hishel + from biothings_client.cache.storage import BiothingsClientSqlite3Cache logger = logging.getLogger("biothings.client")