The code is running normally. But is this officially allowed to happen?
from prefect import task, Flow
with Flow("children-flow") as children_flow:
for i inrange(2):
with Flow("parent-flow") as parent_flow:
11 months ago
I guess for local testing you can but if you want to run with a backend, you should use the StartFlowRun task here .