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 XREADGROUP command #1679

Merged
merged 3 commits into from
Jun 26, 2024

Conversation

aaron-congo
Copy link
Collaborator

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

Issue #, if available:
N/A

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

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 26, 2024 18:16
python/python/glide/async_commands/stream.py Outdated Show resolved Hide resolved
with pytest.raises(RequestError):
await redis_client.xgroup_del_consumer(string_key, group_name, consumer)
Copy link
Collaborator

Choose a reason for hiding this comment

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

did you intend to delete the xgroup_del_consumer test case?

Copy link
Collaborator Author

@aaron-congo aaron-congo Jun 26, 2024

Choose a reason for hiding this comment

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

It isn't actually deleted, it just looks like it is, Git is getting mixed up identifying the diffs. On line 5319 above the xgroup_del_consumer is labelled as a new added line, but it should really be labelled as replacing the line thats "deleted" here

Copy link
Collaborator

Choose a reason for hiding this comment

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

Got it... I missed the added line. Thanks.

@acarbonetto acarbonetto merged commit e83f9da into valkey-io:main Jun 26, 2024
6 checks passed
@acarbonetto acarbonetto deleted the python/integ_acongo_xreadgroup branch June 26, 2024 20:03
jduo pushed a commit to Bit-Quill/valkey-glide that referenced this pull request Jun 28, 2024
* Python: add XREADGROUP command

* Fix mypy error

* PR suggestions
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