Hey all,
I'm trying to read the logs of a step using Python, this step had 2 attempts.
Using the following I can access the log, BUT only for the second attempt.
What I'm missing? Thanks 🙏
Copy code
for task in Step(f'{flow_name}/{run_id_}/{step_name}'):
for log_line in task.loglines(stream="stdout"):
log_text = log_line[1]
print(log_text)