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

refactor: update deprecated hmset function to hset #917

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

arian81
Copy link
Contributor

@arian81 arian81 commented Jan 20, 2025

AI Description

This pull request updates the cache_put function in the cache.py file. The function now uses the hset method instead of hmset to set the key-value pair in the cache.

Changes:

  • In cache.py, the cache_put function now uses client.hset(key, value) instead of client.hmset(key, value).

Copy link

cla-assistant bot commented Jan 20, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@tianjing-li tianjing-li left a comment

Choose a reason for hiding this comment

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

LGTM

@tianjing-li tianjing-li merged commit ae21b64 into cohere-ai:main Jan 21, 2025
8 checks passed
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.

Replace deprecated hmset with hset for Redis
2 participants