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 ZMSCORE command #1357

Merged
merged 9 commits into from
May 1, 2024

Conversation

aaron-congo
Copy link
Collaborator

@aaron-congo aaron-congo commented Apr 26, 2024

Issue #, if available:
N/A

Description of changes:

  • https://redis.io/docs/latest/commands/zmscore/
  • Note: includes value conversion
    • RESP2 returns an array of BulkString values, where each string represents a Double. The value conversion added in this PR converts array-of-bulkstring responses to array-of-double responses, which matches the RESP3 format

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 April 26, 2024 22:43
@aaron-congo aaron-congo added the python Python wrapper label Apr 26, 2024
@aaron-congo aaron-congo force-pushed the python/integ_acongo_zmscore branch from eb86013 to 0755bdf Compare April 30, 2024 21:01
glide-core/src/client/value_conversion.rs Outdated Show resolved Hide resolved
python/python/glide/async_commands/core.py Outdated Show resolved Hide resolved
python/python/glide/async_commands/core.py Outdated Show resolved Hide resolved
@acarbonetto acarbonetto merged commit 47364d3 into valkey-io:main May 1, 2024
45 checks passed
@acarbonetto acarbonetto deleted the python/integ_acongo_zmscore branch May 1, 2024 16:34
tjzhang-BQ pushed a commit to Bit-Quill/valkey-glide that referenced this pull request May 8, 2024
* Python: add ZMSCORE command (#250)

* Update CHANGELOG with PR link

* PR suggestions

* Create convert_array_elements function

* Fix rust formatting

* PR suggestions

* PR suggestions

* Fix rust formatting

---------

Co-authored-by: Andrew Carbonetto <[email protected]>
cyip10 pushed a commit to Bit-Quill/valkey-glide that referenced this pull request Jun 24, 2024
* Python: add ZMSCORE command (#250)

* Update CHANGELOG with PR link

* PR suggestions

* Create convert_array_elements function

* Fix rust formatting

* PR suggestions

* PR suggestions

* Fix rust formatting

---------

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
python Python wrapper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants