bkyryliuk commented on a change in pull request #10506:
URL:
https://github.com/apache/incubator-superset/pull/10506#discussion_r464741076
##########
File path: superset/tasks/schedules.py
##########
@@ -612,10 +614,12 @@ def deliver_alert(alert: Alert, recipients: Optional[str]
= None) -> None:
_deliver_email(recipients, deliver_as_group, subject, body, data, images)
-def run_alert_query(alert: Alert) -> Optional[bool]:
+def run_alert_query(alert_id: int) -> Optional[bool]:
Review comment:
@JasonD28 let's start adding tests
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]