-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
Memoize doesn't give correct results with list as one of the parameter in API #445
Comments
@sh4nks Can you please check this one. This one is urgent. |
@sh4nks anything on this one. Little urgent. |
@sh4nks Can you please look into this. Its Urgent. |
@ashsharma96 I am sorry but I won't really have time for this. I have a full-time job, a family with a toddler so time is kinda precious for me! You can always investigate the issue yourself by checking out the repo. |
@sh4nks Thanks for replying. I know everyone is busy but you are working on this library. That's why I asked you. Everyone have personal life. I just thought you may know this. Sorry to disturb you. |
Hi @northernSage! Do you have free time for it? |
Hey Flask Caching Team,
When I tried to apply memoize decorator on one of my api which requires different parameters then its not giving right results.
For Example these are my api parameters:
Function returns :
Decorator I used for above parameters are:
Configuration I used:
stores key in parameters takes a list which can take one or more than one numbers. For example when I use above mentioned parameters I get number of customers in these stores but lets say I reduce the parameters to below parameters:
It should return result shared below:
But for 30 seconds it shows 3000 and after 30 seconds it shows 900 customers. So is there are any way by which memoize can determine like if there's any change in the list of parameters.
Environment:
The text was updated successfully, but these errors were encountered: