Pedro Machado
10/29/2021, 2:57 PMShellTask
that runs a python script. I am trying to get the logs to show in Prefect Cloud in real time. I am trying to use the PYTHONUNBUFFERED environment variable to force a to print output as it happens but it's not working. I also tried calling the script with the -u
option. Any ideas?Kevin Kho
ShellTask(..., return_all=True, stream_output=True)
?Pedro Machado
10/29/2021, 3:11 PMstream_output=True
. Will test the other one.Pedro Machado
10/29/2021, 4:25 PMKevin Kho
Kevin Kho
Kevin Kho