Is it possible to run tasks within a flow in different environments (specifically for my use case in separate Dask Clusters)?
The motivation behind this is that I would want different Tasks to have access to different resources, but want to keep it in the same flow to allow for Prefect to help manage some state and context between the Task Runs.
Example flow:
task1 = Task1()
task2 = Task2()
with Flow() as flow:
task1_results = task1.map(params) # execute this in Cluster 1
task2_results = task2.map(task1_results) # execute this in Cluster 2