Is it possible to retrieve the flow that was run f...
# prefect-community
t
Is it possible to retrieve the flow that was run from a result object?
n
Hi @tkanas! Can you provide some code for what you're trying to do?
t
I'm not actually sure what the code would look like. If I ran a flow like this:
state = flow.run(**params)
, I would want a copy of the runnable
flow
object to be somewhere inside
state
, so that I could do
flow_copy.run(**params)
where
flow_copy = state.<some-attribute>
n
Ah I see. I think this page might give some insight into Results in Prefect: https://docs.prefect.io/core/concepts/results.html#result-objects