def get_sentry_app_services(self): apps = SentryApp.objects.filter( installations__organization_id=self.project.organization_id, is_alertable=True, ).distinct() results = [SentryAppService(app) for app in apps] return results
def get_sentry_app_services(self): return [ SentryAppService(app) for app in get_alertable_sentry_apps(self.project.organization_id) ]