Justin Chavez
03/11/2021, 5:21 PMZanie
Zanie
StartFlowRun task indeed returns the flow_run_id or nothing now and not a State object. I'll take a look at the feasibility of returning something when wait=TrueZanie
raises the final state which is captured by the task runner it'll return a SUCCESS stateJustin Chavez
03/11/2021, 9:49 PMJustin Chavez
03/11/2021, 9:49 PMZanie
Zanie
Task indicates that you're using it wrong btw, since it's a Task class you need to initialize it once to configure it then call it again to add it to your flow e.g.
run_my_flow = StartFlowRun("foo", "bar")
with Flow("test") as flow:
result = run_my_flow()
do_something(result)