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

LT and GT support for ZADD #1509

Merged
merged 13 commits into from
Jul 29, 2021
Merged

LT and GT support for ZADD #1509

merged 13 commits into from
Jul 29, 2021

Conversation

chayim
Copy link
Contributor

@chayim chayim commented Jul 14, 2021

Part of supporting redis 6.2 changes in: #1434

Pull Request check-list

Please make sure to review and check all of these items:

  • Does $ tox pass with this change (including linting)?
  • Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.

Description of change

Added support to ZADD for LT and GT arguments.

@chayim chayim requested a review from andymccurdy July 15, 2021 07:16
redis/client.py Show resolved Hide resolved
@chayim chayim requested a review from abrookins July 25, 2021 09:19
Copy link
Contributor

@abrookins abrookins left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@chayim chayim merged commit c7ecb1d into redis:master Jul 29, 2021
@chayim chayim deleted the ck-zadd-gl-lt branch July 29, 2021 11:46
chayim added a commit to chayim/redis-py that referenced this pull request Jul 29, 2021
Co-authored-by: malinaa96 <52569986+malinaa96@users.noreply.github.com>
Co-authored-by: Avital Fine <79420960+AvitalFineRedis@users.noreply.github.com>
Andrew-Chen-Wang added a commit to aio-libs-abandoned/aioredis-py that referenced this pull request Oct 8, 2021
LT and GT support for ZADD (redis/redis-py#1509)

* The flags seem to be boolean, but I'm not sure why the test case has integers for test_zadd_gt_lt. Either way, I've set the annotation to be boolean only.

Signed-off-by: Andrew-Chen-Wang <acwangpython@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants