Skip to content

Python: Add RESET command support#5944

Open
affonsov wants to merge 3 commits into
mainfrom
affonsov/reset-python
Open

Python: Add RESET command support#5944
affonsov wants to merge 3 commits into
mainfrom
affonsov/reset-python

Conversation

@affonsov
Copy link
Copy Markdown
Collaborator

@affonsov affonsov commented May 13, 2026

Summary

Adds support for the RESET command to the Python client (async and sync). RESET resets the connection state.

Issue link

This Pull Request is linked to issue: Implement RESET command for Python, Node.js, Go, and Java clients
Closes #5942

Features / Behaviour Changes

  • reset() added to CoreCommands (async and sync), available on both standalone and cluster clients
  • reset() added to BaseBatch for pipeline/batch support

Implementation

  • Sends RequestType.Reset with no arguments; returns "RESET" on success

Limitations

None.

Testing

Checklist

  • This Pull Request is related to one issue.
  • Commit message has a detailed description of what changed and why.
  • Tests are added or updated.
  • CHANGELOG.md and documentation files are updated.
  • Linters have been run (make *-lint targets) and Prettier has been run (make prettier-fix).
  • Destination branch is correct - main or release
  • Create merge commit if merging release branch into main, squash otherwise.

@affonsov affonsov force-pushed the affonsov/reset-python branch from 7621361 to f949a84 Compare May 13, 2026 19:08
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>
@affonsov affonsov force-pushed the affonsov/reset-python branch from f949a84 to 140b401 Compare May 13, 2026 20:34
@affonsov affonsov marked this pull request as ready for review May 14, 2026 22:00
@affonsov affonsov requested a review from a team as a code owner May 14, 2026 22:00
Comment thread python/glide-async/python/glide/async_commands/core.py Outdated
Comment thread python/glide-async/python/glide/async_commands/core.py Outdated
@alexr-bq
Copy link
Copy Markdown
Collaborator

Changelog entry?

Comment thread python/glide-shared/glide_shared/commands/batch.py Outdated
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>
@affonsov affonsov force-pushed the affonsov/reset-python branch from f699f3c to affad99 Compare May 22, 2026 00:15
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.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.

Implement RESET command for Python, Node.js, Go, and Java clients

3 participants