-
Notifications
You must be signed in to change notification settings - Fork 7
Fix: Support unix socket connection to Redis #66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 4 commits
3b23f90
e7204de
312eba8
de823f3
3705fb2
b8e6c18
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -176,6 +176,8 @@ 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") | ||||
|
||||
|
|
||||
|
||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Suggest additional tests and documentation updates.
While the change correctly adds Unix socket support to the
from_urlmethod, consider the following suggestions to ensure comprehensive implementation:from_urlmethod.Here's a suggested update for the class docstring:
Also, consider adding a unit test for Unix socket connections: