bral08/18/2020, 4:10 PM
Alex Cano08/18/2020, 4:15 PM
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!
files = get_files()
Jim Crist-Harif08/18/2020, 4:15 PM
as a function, not a task (there's no
decorator on it). So
runs at flow build time, while the rest of your functions run at flow run time. This means that the value of
is frozen in your flow and won't update each run.
bral08/18/2020, 4:26 PM
Jim Crist-Harif08/18/2020, 4:27 PM
bral08/18/2020, 8:59 PM