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

Auth Cache fix #920

Merged
merged 1 commit into from
Jan 24, 2025
Merged

Auth Cache fix #920

merged 1 commit into from
Jan 24, 2025

Conversation

EugeneLightsOn
Copy link
Collaborator

@EugeneLightsOn EugeneLightsOn commented Jan 24, 2025

Cache set issue fix

AI Description

This pull request makes a small but significant change to the cache_put function in the cache.py file. The function is responsible for storing key-value pairs in a cache, and the update ensures that the hset method is called with the correct argument when the value is a dictionary.

Changes:

  • In the cache_put function, the line client.hset(key, value) is replaced with client.hset(key, mapping=value).

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 77.26%. Comparing base (ec0c043) to head (5a2b5ee).

Files with missing lines Patch % Lines
src/backend/services/cache.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #920   +/-   ##
=======================================
  Coverage   77.26%   77.26%           
=======================================
  Files         281      281           
  Lines       11485    11485           
=======================================
  Hits         8874     8874           
  Misses       2611     2611           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@EugeneLightsOn EugeneLightsOn merged commit beeb878 into main Jan 24, 2025
8 checks passed
@EugeneLightsOn EugeneLightsOn deleted the eugene/fix-cache-issue branch January 24, 2025 15:33
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.

4 participants