Skip to content

Commit 20dbee5

Browse files
committed
Remove library-checking process
1 parent 6d394f5 commit 20dbee5

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

solvedac_community/__init__.py

+2-22
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,7 @@
1111
Copyright (c) 2023 DevRuby
1212
"""
1313

14+
from . import HTTPClients
1415
from .client import Client
1516

16-
__all__ = ["Client"]
17-
18-
count = 0
19-
20-
try:
21-
import aiohttp
22-
23-
count += 1
24-
except ImportError:
25-
pass
26-
27-
try:
28-
import httpx
29-
30-
count += 1
31-
except ImportError:
32-
pass
33-
34-
if count == 0:
35-
raise ImportError(
36-
"\nAt least one of aiohttp or httpx libraries is required\nTry `pip install aiohttp` or `pip install httpx`"
37-
)
17+
__all__ = ["Client", "HTTPClients"]

0 commit comments

Comments
 (0)