(self)
| 14 | self._cache = caches[settings.CHARGEBEE_CACHE_LOCATION] |
| 15 | |
| 16 | def refresh(self): # type: ignore[no-untyped-def] |
| 17 | plans = self.fetch_plans() |
| 18 | addons = self.fetch_addons() |
| 19 | self._cache.set(CHARGEBEE_CACHE_KEY, {"plans": plans, "addons": addons}) |
| 20 | |
| 21 | @property |
| 22 | def plans(self) -> Dict[str, ChargebeeObjMetadata]: |
no test coverage detected