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

Method delete

api/users/models.py:179–185  ·  view source on GitHub ↗
(  # type: ignore[no-untyped-def,override]
        self,
        delete_orphan_organisations: bool = DEFAULT_DELETE_ORPHAN_ORGANISATIONS_VALUE,
    )

Source from the content-addressed store, hash-verified

177 ).annotate(users_count=Count("users")).filter(users_count=1).delete()
178
179 def delete( # type: ignore[no-untyped-def,override]
180 self,
181 delete_orphan_organisations: bool = DEFAULT_DELETE_ORPHAN_ORGANISATIONS_VALUE,
182 ):
183 if delete_orphan_organisations:
184 self.delete_orphan_organisations()
185 super().delete()
186
187 def set_password(self, raw_password): # type: ignore[no-untyped-def]
188 super().set_password(raw_password)

Callers 15

account-store.jsFile · 0.45
project-store.jsFile · 0.45
removeUserFlagFunction · 0.45
AdminAPIKeys.jsFile · 0.45
removeIntegrationFunction · 0.45
handleManageFunction · 0.45
invalidateTokenFunction · 0.45
StaleSectionFunction · 0.45
RemoveSectionFunction · 0.45

Calls 1