Skip to content

Commit

Permalink
import issues
Browse files Browse the repository at this point in the history
Signed-off-by: ahmedsobeh <[email protected]>
  • Loading branch information
ahmedsobeh committed Jun 28, 2024
1 parent 39fcc1c commit 6d4c5b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion valkey/asyncio/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import weakref
from abc import abstractmethod
from itertools import chain
from .._parsers.url_parser import parse_url
from typing import (
Any,
Iterable,
Expand Down Expand Up @@ -1057,6 +1056,7 @@ def from_url(cls: Type[_CP], url: str, **kwargs) -> _CP:
class initializer. In the case of conflicting arguments, querystring
arguments always win.
"""
from .._parsers.url_parser import parse_url
url_options = parse_url(url)
kwargs.update(url_options)
return cls(**kwargs)
Expand Down

0 comments on commit 6d4c5b5

Please sign in to comment.