From the artifact_id_events
, get the execution ids of OUTPUT events.
# Cast to a set to remove duplicates if any.
execution_id = set(
for event in artifact_id_events # @REPLACE
if event.type == metadata_store_pb2.Event.OUTPUT # @REPLACE
)
Do I need to update the code between # @replace tag?
I’m getting the following error:
File “”, line 15
for event in artifact_id_events # @REPLACE
^
SyntaxError: invalid syntax