Notifier
Module with notification terminator.
Notifier
¶
Bases: ABC
Abstract Notification class.
Source code in mkdocs/lakehouse_engine/packages/terminators/notifier.py
__init__(notification_spec)
¶
Construct Notification instances.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
notification_spec |
TerminatorSpec
|
notification specification. |
required |
Source code in mkdocs/lakehouse_engine/packages/terminators/notifier.py
check_if_notification_is_failure_notification(spec)
staticmethod
¶
Check if given notification is a failure notification.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
spec |
TerminatorSpec
|
spec to validate if it is a failure notification. |
required |
Returns:
Type | Description |
---|---|
bool
|
A boolean telling if the notification is a failure notification |