eschutho commented on code in PR #20903:
URL: https://github.com/apache/superset/pull/20903#discussion_r948476110
##########
superset/reports/notifications/base.py:
##########
@@ -21,11 +21,15 @@
import pandas as pd
from superset.reports.models import ReportRecipients, ReportRecipientType
+from superset.utils.core import HeaderDataType
@dataclass
class NotificationContent:
name: str
+ header_data: Optional[
+ HeaderDataType
+ ] = None # this is optional to account for error states
Review Comment:
can you explain why this is optional?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]