Max Lei
05/31/2020, 11:08 PMJeremiah
06/01/2020, 12:10 AMreturn
the parameters needed to create the unpickleable object from the upstream task, then use those parameters as the inputs to the next task, which recreates the object. You could also use the new target
mechanism to transparently write outputs to a filesystem.
At the end of the day, tasks must be able to be run independently (in the worst-case event of a node failure, for example), so they need to be able to serialize or recreate their inputs/environment. We recommend making your tasks as small as possible, for greater observability, but not so small that you need to reengineer your work.Max Lei
06/01/2020, 5:27 AMAvi A
06/01/2020, 6:43 AMSteve Taylor
06/01/2020, 12:37 PM