MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / _get_items

Method _get_items

api/organisations/chargebee/cache.py:29–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27 return self._get_items()["addons"] # type: ignore[no-any-return]
28
29 def _get_items(self) -> dict: # type: ignore[type-arg]
30 chargebee_items = self._cache.get(CHARGEBEE_CACHE_KEY)
31 if chargebee_items is None:
32 self.refresh() # type: ignore[no-untyped-call]
33 return self._cache.get(CHARGEBEE_CACHE_KEY) # type: ignore[no-any-return]
34
35 def fetch_plans(self) -> dict: # type: ignore[type-arg]
36 plans = {}

Callers 2

plansMethod · 0.95
addonsMethod · 0.95

Calls 2

refreshMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected