Jason
02/02/2021, 2:02 PMdagster_slack
library.
My company is still very much on webhooks
and there's a lot of hoops to jump through to get bots approved. Is there any undocumented override feature in the dagster_slack
lib for webhooks? Or perhaps an older slack implementation I can strip off and implement myself?nate
02/02/2021, 4:08 PMslack_resource
it’s just exposing a Slack WebClient
via Dagster’s resource system; you might want to try something similar for the webhooks APIsnate
02/02/2021, 4:08 PMJason
02/02/2021, 4:15 PMJason
02/02/2021, 4:49 PMsuccess_hook
and failure_hook
but I couldn't get the failure_hook
to work.
The pipeline looks like
@slack_message_on_success
@slack_message_on_failure
@pipeline
def test_pipeline():
a()
b()
And the solids....
@solid
def a(_):
pass
@solid
def b(_):
raise Exception()
The hooks just have a context.log
in them for testing