(cache_path)
| 94 | return results |
| 95 | |
| 96 | def _remove(cache_path): |
| 97 | if os.path.exists(cache_path): |
| 98 | try: |
| 99 | os.remove(cache_path) |
| 100 | except FileNotFoundError: |
| 101 | pass |
| 102 | # used by decorators |
| 103 | def _put(result, cache_path): |
| 104 | write_json(result, cache_path) |
no test coverage detected