Kun Yin
07/26/2022, 9:13 AMprefect==2.0b12
Problem: when I run the code a, b= task.submit(c, d)
the error occurs:`cannot unpack non-iterable PrefectFuture object`
I can use task(nout=2)
in Prefect 1.0+ when my task has multiple return values. What shall I do in Prefect 2.0+ in the same situation? Maybe a, b= task.submit(c, d).result()
can work but I think it is not a good way.Anna Geller
07/26/2022, 12:21 PMa, b = task()
as it returns data rather than future