Dan Wise
11/10/2022, 11:18 AMChristopher Boyd
11/10/2022, 3:03 PMKhuyen Tran
11/10/2022, 4:04 PMKhuyen Tran
11/10/2022, 4:06 PMDan Wise
11/10/2022, 4:34 PMDan Wise
11/10/2022, 4:36 PMDan Wise
11/10/2022, 4:40 PMDan Wise
11/10/2022, 4:45 PMKhuyen Tran
11/10/2022, 4:49 PMWhen I deploy then run with an agent the decorator is not triggeredWhich version of prefect-alert are you in?
Khuyen Tran
11/10/2022, 4:52 PMWe use messages posted via an app using the slack client so was wondering it a notification type will be created for firing messages to Slack that wayYou mean creating notification using something that is not a notification block?
In the alert_on_failure decorator, you define the block_type to be an object instance of a AppriseNotificationBlock but I believe you are expecting a class instanceCould you be more specific about that you mean by object instance and class instance?
Dan Wise
11/10/2022, 4:55 PMDan Wise
11/10/2022, 4:55 PMdef alert_on_failure(block_type: AppriseNotificationBlock, block_name: str):
Dan Wise
11/10/2022, 4:56 PMDan Wise
11/10/2022, 4:56 PMDan Wise
11/10/2022, 4:57 PMDan Wise
11/10/2022, 4:57 PMDan Wise
11/10/2022, 4:58 PMDan Wise
11/10/2022, 4:58 PMDan Wise
11/10/2022, 4:59 PMKhuyen Tran
11/10/2022, 7:41 PM