https://prefect.io logo
Title
b

Ben Strange

08/17/2022, 3:29 PM
Hello, sorry to jump in the "I've got an issue" I'm currently following the "Update to Prefect 2.0: Notifications" YouTube and have followed the tutorial to the letter but when running the flow for "notification_block" I get the following error:- "RuntimeWarning: coroutine 'SlackWebhook.notify' was never awaited slack_webhook_block.notify("Hello from Prefect!")" When using the "Notifications" within the Prefect Cloud 2.0 for the Slack notification it works fine when the flow is completed.
1
b

Bianca Hoch

08/17/2022, 3:33 PM
Hello Ben! What version of Prefect are you using?
If you are using 2.0.2 and up it should work.
b

Ben Strange

08/17/2022, 3:42 PM
And just like that sorted! was on 2.0.1.. Thank you kindly @Bianca Hoch
b

Bianca Hoch

08/17/2022, 3:43 PM
No worries Ben, I neglected to mention the version in the video, but it does make a difference. I'll leave a comment on it to clear the confusion. Thanks for reaching out!
c

Chris Reuter

08/17/2022, 3:54 PM
I can also add to the video description now
🚀 1
b

Bianca Hoch

08/17/2022, 3:56 PM
Thank you Chris! I think that'll be the best option