hello, I am attempting to upgrade from 2.8.4 to 2....
# prefect-getting-started
s
hello, I am attempting to upgrade from 2.8.4 to 2.10.6. I have noticed that flows that returned a LiteralResult are now giving a UnpersistedResult. I am not really sure where the issue is (client or server) Any Ideas?
1
j
By default, Prefect flow results are not persisted to disk. You can persist results with
@flow(persist_result=True)
. Check out the section on results in the docs.
s
thanks @Jeff Hale so it says “Literal results are used to represent results stored in the Prefect database. The values contained by these results must always be JSON serializable.” I can’t seem to get this to work, with a newer version of prefect