Skip to content

Python: add WATCH and UNWATCH commands - #1736

Merged
acarbonetto merged 14 commits into
valkey-io:mainfrom
Bit-Quill:python/dev_jamesx_watch
Jul 1, 2024
Merged

acarbonetto merged 14 commits into
valkey-io:mainfrom
Bit-Quill:python/dev_jamesx_watch

Conversation

@jamesx-improving

Copy link
Copy Markdown
Collaborator

Issue #, if available:
N/A

Description of changes:
Add WATCH and UNWATCH commands

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

@jamesx-improving
jamesx-improving requested a review from a team as a code owner June 30, 2024 23:00
@jamesx-improving jamesx-improving added the python 🐍 Python wrapper label Jun 30, 2024
Comment thread python/python/glide/async_commands/core.py
Comment thread python/python/tests/test_async_client.py
Comment thread python/python/tests/test_async_client.py
Comment thread python/python/tests/test_async_client.py Outdated
Comment thread python/python/tests/test_async_client.py

@Yury-Fridlyand Yury-Fridlyand left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please add changelog entry.

aaron-congo and others added 8 commits June 30, 2024 20:10
* Python: add XAUTOCLAIM command

* minor doc update

* Minor doc update

* PR suggestions

* Update test assertions with string conversions

* PR suggestions

* Add clarifying comments
* Added zscan command

* Added HSCAN command

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Fixed tests and addressed comments

* Update python/python/tests/test_async_client.py

Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>

---------

Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
@acarbonetto
acarbonetto merged commit 8e048b1 into valkey-io:main Jul 1, 2024
@Yury-Fridlyand
Yury-Fridlyand deleted the python/dev_jamesx_watch branch July 1, 2024 04:46
cyip10 pushed a commit to Bit-Quill/valkey-glide that referenced this pull request Jul 16, 2024
* Python: add WATCH and UNWATCH commands

* isort

* update redis_client type for test_unwatch_with_route()

* add watch to the correct cluster test

* add cluster mode note

* address comments from GumpacG

* Python: added XAUTOCLAIM command (valkey-io#1718)

* Python: add XAUTOCLAIM command

* minor doc update

* Minor doc update

* PR suggestions

* Update test assertions with string conversions

* PR suggestions

* Add clarifying comments

* Python: Add ZSCAN and HSCAN commands (valkey-io#1732)

* Added zscan command

* Added HSCAN command

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Fixed tests and addressed comments

* Update python/python/tests/test_async_client.py

Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>

---------

Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Python: add WATCH and UNWATCH commands

* Python: add WATCH and UNWATCH commands

* add changelog

* fix broken syntax after solving conflicts

---------

Co-authored-by: Aaron <69273634+aaron-congo@users.noreply.github.com>
Co-authored-by: Guian Gumpac <guian.gumpac@improving.com>
Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Yury-Fridlyand added a commit to Bit-Quill/valkey-glide that referenced this pull request Jun 6, 2025
* Python: add WATCH and UNWATCH commands

* isort

* update redis_client type for test_unwatch_with_route()

* add watch to the correct cluster test

* add cluster mode note

* address comments from GumpacG

* Python: added XAUTOCLAIM command (valkey-io#1718)

* Python: add XAUTOCLAIM command

* minor doc update

* Minor doc update

* PR suggestions

* Update test assertions with string conversions

* PR suggestions

* Add clarifying comments

* Python: Add ZSCAN and HSCAN commands (valkey-io#1732)

* Added zscan command

* Added HSCAN command

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Fixed tests and addressed comments

* Update python/python/tests/test_async_client.py

Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>

---------

Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Python: add WATCH and UNWATCH commands

* Python: add WATCH and UNWATCH commands

* add changelog

* fix broken syntax after solving conflicts

---------

Co-authored-by: Aaron <69273634+aaron-congo@users.noreply.github.com>
Co-authored-by: Guian Gumpac <guian.gumpac@improving.com>
Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
affonsov pushed a commit that referenced this pull request Aug 21, 2026
* Python: add WATCH and UNWATCH commands

* isort

* update redis_client type for test_unwatch_with_route()

* add watch to the correct cluster test

* add cluster mode note

* address comments from GumpacG

* Python: added XAUTOCLAIM command (#1718)

* Python: add XAUTOCLAIM command

* minor doc update

* Minor doc update

* PR suggestions

* Update test assertions with string conversions

* PR suggestions

* Add clarifying comments

* Python: Add ZSCAN and HSCAN commands (#1732)

* Added zscan command

* Added HSCAN command

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Debug tests

* Fixed tests and addressed comments

* Update python/python/tests/test_async_client.py

Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>

---------

Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>

* Python: add WATCH and UNWATCH commands

* Python: add WATCH and UNWATCH commands

* add changelog

* fix broken syntax after solving conflicts

---------

Co-authored-by: Aaron <69273634+aaron-congo@users.noreply.github.com>
Co-authored-by: Guian Gumpac <guian.gumpac@improving.com>
Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python 🐍 Python wrapper

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

6 participants