Ryan Abernathey
03/25/2021, 1:56 PMClient.register_worker_plugin
(https://docs.dask.org/en/latest/futures.html#distributed.Client.register_worker_plugin) with my Dask clusters to install custom pip packages (e.g. install from dev branch for debugging.) If I am using prefect with an existing dask scheduler, how can I call client.register_worker_plugin
? I tried
executor = DaskExecutor(
address=cluster.scheduler_address,
client_kwargs={"security": cluster.security}
)
executor.client.register_worker_plugin
but it looks like the client
attribute on executor
is None.Zanie
Zanie
Ryan Abernathey
03/25/2021, 2:30 PMdask.distributed.Client
, independent from prefect, and call register_worker_plugin
from that ClientRyan Abernathey
03/25/2021, 2:31 PMRyan Abernathey
03/25/2021, 2:31 PMZanie
Ryan Abernathey
03/25/2021, 2:39 PMRyan Abernathey
03/25/2021, 2:39 PM