Hi all, is it possible to persist results of a flo...
# best-practices
s
Hi all, is it possible to persist results of a flow dynamically?
1
For example, I have a flow that persists result by default, and I want to call this flow to override the persistence in specific situations
example:
Copy code
@flow(persist_result=True)
def do_something():
   print("Hello Prefect")
   return {"message": "hello prefect"}
is it possible to call this without persistence
I guess I found it
Copy code
do_something = do_something.with_options(persist_result=False)