Skip to content

Commit

Permalink
Fix: Support unix socket connection to Redis
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinjogi authored Sep 23, 2024
1 parent fb56ead commit 3b23f90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions falkordb/falkordb.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ def from_url(cls, url: str, **kwargs) -> "FalkorDB":
kwargs["port"] = connection_kwargs.get("port", 6379)
kwargs["username"] = connection_kwargs.get("username")
kwargs["password"] = connection_kwargs.get("password")
kwargs["unix_socket_path"] = connection_kwargs.get("path")

# Initialize a FalkorDB instance using the updated kwargs
db = cls(**kwargs)
Expand Down

0 comments on commit 3b23f90

Please sign in to comment.