def get_flows(self):
return self._ans_api.get_ans(ans_name=self.config.ans).content
The above is a method that I want to cache and it has an api call. How can I set a configurable refresh time for caching it without using 3rd party cache libraries?