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

Method send_alert_to_admin_users

api/users/models.py:355–362  ·  view source on GitHub ↗
(subject, message)

Source from the content-addressed store, hash-verified

353
354 @staticmethod
355 def send_alert_to_admin_users(subject, message): # type: ignore[no-untyped-def]
356 send_mail(
357 subject=subject,
358 message=message,
359 from_email=settings.DEFAULT_FROM_EMAIL,
360 recipient_list=FFAdminUser._get_admin_user_emails(), # type: ignore[no-untyped-call]
361 fail_silently=True,
362 )
363
364 @staticmethod
365 def _get_admin_user_emails(): # type: ignore[no-untyped-def]

Callers 1

Calls 1

Tested by

no test coverage detected