Skip to content

Commit

Permalink
Isolate the custom cache storage imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jschaff committed Nov 25, 2024
1 parent 2dee358 commit 47fccd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion biothings_client/client/asynchronous.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -42,6 +41,7 @@

if _CACHING:
import hishel
from biothings_client.cache.storage import AsyncBiothingsClientSqlite3Cache

logger = logging.getLogger("biothings.client")
logger.setLevel(logging.INFO)
Expand Down
2 changes: 1 addition & 1 deletion biothings_client/client/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -42,6 +41,7 @@

if _CACHING:
import hishel
from biothings_client.cache.storage import BiothingsClientSqlite3Cache


logger = logging.getLogger("biothings.client")
Expand Down

0 comments on commit 47fccd2

Please sign in to comment.