Vignesh M
03/31/2022, 6:49 AMowen
03/31/2022, 3:57 PMVignesh M
03/31/2022, 4:07 PMowen
03/31/2022, 4:28 PMget_event_logs_metadata()
? The command instance.get_all_logs(run_id)
should basically return exactly the list of events that you see in Dagit, so it would definitely be strange if there was a difference between the events seen there and in dagit.Vignesh M
03/31/2022, 5:14 PMevent_logs = context.instance.all_logs(run_id)
with open("D:\eventmetadatalog.txt", "w") as f:
for x in event_logs:
f.writelines("{0}\n".format(x))
But the output doesnt have logs for the events mentioned. Attaching the output of the Ops in dagit UI. The Metadata "Expectation Results" highlighted in red in the screenshot is the only one that gets printed. Rest 5 entries are not available.owen
03/31/2022, 5:32 PMVignesh M
03/31/2022, 5:56 PMowen
03/31/2022, 10:48 PM