Hi,
Using prefect 1.X and able to trigger a flow via a GraphQl endpoint (see sample response below). I was wondering if it's possible for a prefect flow to return a response (e.g. computed values or a generated file).
{
"data": {
"create_flow_run": {
"id": "b7f44e94-d899-4f1b-a854-98dff845a0e2"
}
}
}
Thank you
k
Kevin Kho
07/08/2022, 9:34 PM
The flow has no return in 1.0 so you kind of need your flow to write it somewhere to retrieve later.
Kevin Kho
07/08/2022, 9:34 PM
I don’t think 2.0 can do it either because it’s not a server
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.