Chris L.

08/15/2022, 8:32 AM
Hello there, a question about Prefect 2.0 and flows using Dask runner. I posted it over at data-tricks-and-tips but this places seems to be more active. Hoping somebody can help with this! It relates to getting the Prefect's task's Dask worker client from inside the task. Using
context manager works as expected in Prefect 1.0 (see[…]-client-to-call-client-submit-inside-a-prefect-task/470/13) but this behavior doesn't seem to migrate over to 2.0

Anna Geller

08/15/2022, 9:48 AM
Hi Chris, since you didn't get much Dask help here, it might be worth trying to post in Dask Discourse