MCPcopy Index your code
hub / github.com/Flagsmith/flagsmith / create_subscription_cache

Method create_subscription_cache

api/organisations/models.py:163–165  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

161
162 @hook(AFTER_CREATE)
163 def create_subscription_cache(self): # type: ignore[no-untyped-def]
164 if is_saas() and not self.has_subscription_information_cache():
165 OrganisationSubscriptionInformationCache.objects.create(organisation=self)
166
167 @hook(AFTER_SAVE)
168 def clear_environment_caches(self): # type: ignore[no-untyped-def]

Callers

nothing calls this directly

Calls 3

is_saasFunction · 0.85
createMethod · 0.45

Tested by

no test coverage detected