<#307 Change setup to sync in dask plugin> Pull re...
# flyte-github
a
#307 Change setup to sync in dask plugin Pull request opened by BarryWu0812 This PR is to change setup method to async in DownloadCodeBundleWorkerPlugin(WorkerPlugin) at dask to align official setup method in WorkerPlugin, and solve the original error
asyncio.run() cannot be called from a running event loop
when running the dask example. https://github.com/dask/distributed/blob/1ee4756b97cd1cd5c074c40b2057d31613fe1ab9/distributed/diagnostics/plugin.py#L285 flyteorg/flyte-sdk