Skip to content

Commit 431baca

Browse files
authored
Merge pull request #34 from solvedac/dev
Fix some bugs
2 parents bc938f6 + 371cf5c commit 431baca

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

solvedac_community/HTTPClients/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,17 @@
2020
from .httpclient import get_http_client
2121

2222
__all__ = ["AbstractHTTPClient", "RequestMethod", "ResponseData", "Route", "get_http_client"]
23+
24+
try:
25+
from .aiohttp_client import AiohttpHTTPClient
26+
27+
__all__.append("AiohttpHTTPClient")
28+
except ImportError:
29+
pass
30+
31+
try:
32+
from .httpx_client import HttpxHTTPClient
33+
34+
__all__.append("HttpxHTTPClient")
35+
except ImportError:
36+
pass

0 commit comments

Comments
 (0)