diff --git a/valkey/_parsers/url_parser.py b/valkey/_parsers/url_parser.py index e8103dd9..18dfc20f 100644 --- a/valkey/_parsers/url_parser.py +++ b/valkey/_parsers/url_parser.py @@ -1,4 +1,5 @@ from urllib.parse import ParseResult, parse_qs, unquote, urlparse +from valkey.asyncio.connection import ConnectKwargs, UnixDomainSocketConnection, SSLConnection from types import MappingProxyType from typing import ( Callable, @@ -33,7 +34,6 @@ def to_bool(value) -> Optional[bool]: def parse_url(url: str): - from valkey.asyncio.connection import ConnectKwargs, UnixDomainSocketConnection, SSLConnection parsed: ParseResult = urlparse(url) kwargs: ConnectKwargs = {}