https://dagster.io/ logo
Title
d

Dimka Filippov

01/31/2022, 6:43 PM
hello everyone, in continuation of my attempts to get failure notifications in Slack channel, I have configured the following (screenshot) hook and start getting the following notification (also on screenshot) of expected failure... is there any way to get rid of
<dagster.core.definitions.dependency.Node object at 0x000002BF89C6BB80>
and instead of it start getting a real Op name or at least its Description?
for example, as for
job_name
o

owen

01/31/2022, 6:47 PM
hi @Dimka Filippov you can replace
context.op
with
context.op.name
(and
context.op.description
if you want the description as well)
d

Dimka Filippov

01/31/2022, 6:49 PM
oh! really! thank you, Owen 😃
😛artydagster: 1
but it seems works only for
op.name
and not for
op.description
o

owen

01/31/2022, 6:56 PM
ah sorry it would be
op.definition.description
❤️ 1
d

Dimka Filippov

01/31/2022, 9:00 PM
thanks a lot 😃