Skip to content
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

Python: add ZREVRANK command #1614

Merged
merged 3 commits into from
Jun 20, 2024

Conversation

aaron-congo
Copy link
Collaborator

@aaron-congo aaron-congo commented Jun 19, 2024

Issue #, if available:
N/A

Description of changes:
https://redis.io/docs/latest/commands/zrevrank/

  • Returns the rank of member in the sorted set stored at key, where scores are ordered from the highest to lowest, starting from 0
  • Policies: none (see here)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@aaron-congo aaron-congo requested a review from a team as a code owner June 19, 2024 23:32
Copy link
Collaborator

@acarbonetto acarbonetto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

python/python/glide/async_commands/core.py Outdated Show resolved Hide resolved
@acarbonetto acarbonetto merged commit 499e2cf into valkey-io:main Jun 20, 2024
6 checks passed
@acarbonetto acarbonetto deleted the python/integ_acongo_zrevrank branch June 20, 2024 03:22
cyip10 pushed a commit to Bit-Quill/valkey-glide that referenced this pull request Jun 24, 2024
* Python: add ZREVRANK command

* Relocate zrevrank to be adjacent to zrank

---------

Co-authored-by: Andrew Carbonetto <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants