You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, in case I'm not understanding things correctly, is there a way to handle the following use case: I have a function which I need to cache most of the time, but in a few very specific cases I need it run its course. The function is grabbing things from a web api, most of these do not change but some do, and that fact only matters in one use case. Can I provide an additional keyword just for that specific use case?
e.g.
get_data(dont_cache=True)
I'm thinking the best place to implement this (in case this doesn't already exist) would be here. Thoughts?
The text was updated successfully, but these errors were encountered:
So, in case I'm not understanding things correctly, is there a way to handle the following use case: I have a function which I need to cache most of the time, but in a few very specific cases I need it run its course. The function is grabbing things from a web api, most of these do not change but some do, and that fact only matters in one use case. Can I provide an additional keyword just for that specific use case?
e.g.
get_data(dont_cache=True)
I'm thinking the best place to implement this (in case this doesn't already exist) would be here. Thoughts?
The text was updated successfully, but these errors were encountered: