Sean Harkins
04/09/2021, 5:33 PMPipInstall https://distributed.dask.org/en/latest/plugins.html#distributed.diagnostics.plugin.PipInstall to install dependencies on our workers at worker creation time). We are using a temporary cluster model as described here https://docs.prefect.io/orchestration/flow_config/executors.html#using-a-temporary-cluster. Is it possible to somehow obtain a reference the `DaskExecutor`’s distributed client https://github.com/PrefectHQ/prefect/blob/master/src/prefect/executors/dask.py#L209 from within our Flow code (or Task code) so that we can call register_worker_plugin ? I’ve browsed through the codebase but I’m not sure where in the Flow execution process that the `DaskExecutor`’s client is yielded and used?Kevin Kho
Sean Harkins
04/09/2021, 5:51 PMKevin Kho
get_client() inside a Task inside the Flow to get the client?Kevin Kho
distributed package?Sean Harkins
04/09/2021, 11:59 PMclient that way. I’ll try to confirm that register_worker_plugin works correctly and report back.Kevin Kho