Skip to content

Commit

Permalink
chore: add aiohttp and aiohttp-sse-client as optional dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Aug 27, 2023
1 parent 71edafa commit 565fe4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stellar_sdk/client/aiohttp_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __init__(
custom_headers: Optional[Dict[str, str]] = None,
**kwargs,
) -> None:
if not AiohttpClient:
if not _AIOHTTP_DEPS_INSTALLED:
raise ImportError(
"The required dependencies have not been installed. "
"Please install `stellar-sdk[aiohttp]` to use this feature."
Expand Down

0 comments on commit 565fe4f

Please sign in to comment.