Hey everyone :wave: Were there any changes made to...
# ask-community
j
Hey everyone 👋 Were there any changes made to
prefect-slack
? We are getting this when trying to load our slack webhook block
AttributeError("type object 'SlackWebhook' has no attribute 'load'")
For reference, the prefect UI still shows this is how to load this block
Copy code
from prefect_slack import SlackWebhook
slack_webhook_block = SlackWebhook.load("<your block name here>")
✅ 1
a
Thanks for bringing this to our attention @John Mizerany! Looks like we unintentionally turned
SlackWebhook
into a
dataclass
last release. We'll release a fix as soon as possible.
thank you 1
@John Mizerany we've yanked the versions of
prefect-slack
with unexpected breaking changes. If you install version
0.2.2
then you should be good to go!
thank you 2
j
Thanks!