Hi! If had some gRPC API endpoint that i wanted to trigger a Prefect workflow which runs a bunch of different models and collates and returns some results, what would be the best way to structure that?
Something like this?
Copy code
@flow
def pipeline(request):
# bunch of tasks, some of which run in parallel
# flow and tasks defined in another script
return output
...
def some_grpc_api_endpoint(request):
return pipeline(request)
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.