(cls)
| 383 | |
| 384 | @classmethod |
| 385 | def proxy(cls) -> List[str]: |
| 386 | if cls.get_location() is None: |
| 387 | return cls._get_package_list() |
| 388 | |
| 389 | cache_obj = cls() |
| 390 | if cache_obj.is_valid: |
| 391 | return loads(cache_obj.cache_file_location.read_text()) |
| 392 | |
| 393 | try: |
| 394 | return cache_obj.fetch() |
| 395 | except Exception as exc: |
| 396 | cache_obj.delete() |
| 397 | raise exc |
| 398 | |
| 399 | @property |
| 400 | def metadata(self) -> dict: |
nothing calls this directly
no test coverage detected