Getting this message. `TypeError: cannot unpack no...
# prefect-community
t
Getting this message.
TypeError: cannot unpack non-iterable PrefectFuture object
Do I just need to do
@task(nout=2)
in Prefect 2.0?
z
We don’t support unpacking futures yet, though we will in the future. You need to unpack the
.result()
instead but this will block until completion of the task.
t
OK, I don't think i need the second value anymore, so i will just adjust my task.