I have a working op & graph. If I add a `yield...
# ask-community
r
I have a working op & graph. If I add a
yield AssetMaterialization
statement, the op now fails (while the materialization does work). Any ideas?
it does return an output btw
o
hi @Remi Gabillet, this error message should definitely be improved. The actual issue is that if you yield an event during op execution (such as an AssetMaterialization), you also need to yield your output explicitly instead of returning it
yield Output(segment_unified_table)
r
got it. So any time I
yield AssetMaterialization
in an op, I also need to
yield Output
o
exactly yep