Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ project_urls =
packages = find:
install_requires =
aiorwlock==1.1.0
anyio<4.0.0
anyio>=3.7.1
appdirs>=1.4.4
appdirs-stubs>=0.1.0
async-generator>=1.10
Expand Down
10 changes: 0 additions & 10 deletions src/firebolt/client/client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from typing import Any, Optional

from anyio._core._eventloop import get_asynclib
from async_property import async_cached_property # type: ignore
from httpx import URL
from httpx import AsyncClient as HttpxAsyncClient
Expand All @@ -22,15 +21,6 @@
mixin_for,
)

# Explicitly import all available backend not get into
# anyio race condition during backend import
for backend in ("asyncio", "trio"):
try:
get_asynclib(backend)
except ModuleNotFoundError:
# Not all backends might be installed
pass

FireboltClientMixinBase = mixin_for(HttpxClient) # type: Any


Expand Down