-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
feat(django-redis): add set functionality to default client #654
base: master
Are you sure you want to change the base?
feat(django-redis): add set functionality to default client #654
Conversation
Thanks for your work! Wondering if there are any blockers for landing this atm. Let me know if I can be of any help. |
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.
sorry for the long delay, it looks good but I think some methods are missing
could you please add a CHANGELOG file?
@omit_exception | ||
def sinter(self, *args, **kwargs): | ||
return self.client.sinter(*args, **kwargs) | ||
|
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.
SINTERCARD
is missing
@omit_exception | ||
def smembers(self, *args, **kwargs): | ||
return self.client.smembers(*args, **kwargs) | ||
|
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.
SMISMEMBER
is missing
@omit_exception | ||
def srem(self, *args, **kwargs): | ||
return self.client.srem(*args, **kwargs) | ||
|
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.
SSCAN
is missing
self, | ||
dest: Any, | ||
*keys, | ||
version: Optional[int] = None, |
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.
maybe here we would like to have two versions? version of set A and version of set B
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.
Is alirezaei1380#1 kinda what you had in mind for the multiple versions?
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.
yes, but please use camel_case... I am really sorry for the late reply
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.
If you're referring to the version*
args, I've changed them to be snake_case
. Lmk if I misinterpreted anything.
Hoping the author accepts this PR soon.
Signed-off-by: Aalekh Patel <[email protected]>
Is this getting added or merged soon? or what is the alternative to using the set methods like srem .etc |
sorry for the big delay, didn't work much on django-redis in the past months... could you create a new PR or align with master please? |
This PR solves #597 and adds all set functionality