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

Method _get_admin_user_emails

api/users/models.py:365–369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

363
364 @staticmethod
365 def _get_admin_user_emails(): # type: ignore[no-untyped-def]
366 return [
367 user["email"]
368 for user in FFAdminUser.objects.filter(is_staff=True).values("email")
369 ]
370
371 def belongs_to(self, organisation_id: int) -> bool:
372 return self.userorganisation_set.filter(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected