Skip to content

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).

@cla-assistant
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