bral
08/18/2020, 4:10 PMAlex Cano
08/18/2020, 4:15 PMfiles = get_files()
line only gets executed once, and thus never changes. If you’re wanting it to change, you can wrap it within a task and return it!Jim Crist-Harif
08/18/2020, 4:15 PMget_files
as a function, not a task (there's no @task
decorator on it). So get_files
runs at flow build time, while the rest of your functions run at flow run time. This means that the value of files
is frozen in your flow and won't update each run.bral
08/18/2020, 4:26 PMJim Crist-Harif
08/18/2020, 4:27 PMbral
08/18/2020, 8:59 PM