I get an error trying to use this in an aws lambda call because it is attempting to save to cache. Is there any reason it should not be moved into the if statement above so that it doesn't attempt to save if the session will not be reused?
__init__.py on line 135
_save_cache(self.cache, self.cache_file)
I get an error trying to use this in an aws lambda call because it is attempting to save to cache. Is there any reason it should not be moved into the if statement above so that it doesn't attempt to save if the session will not be reused?
__init__.py on line 135_save_cache(self.cache, self.cache_file)