Michael Hadorn
11/16/2020, 8:31 AM[2020-11-16 09:26:55+0100] ERROR - prefect.Load | Unexpected error occured in FlowRunner: ModuleNotFoundError("No module named 'xxx'")
I think I have to upload all my necessary files via: client.upload_file('xxx.py')
(see https://distributed.dask.org/en/latest/api.html#distributed.Client.upload_file)
But how can i access the dask client?
Here the client would be available while the run: https://github.com/PrefectHQ/prefect/blob/master/src/prefect/engine/executors/dask.py#L257
But directly after, it's cleared again.
Does anybody have a hint for me?
Regards MichaelZanie
Michael Hadorn
11/18/2020, 8:22 AMZanie
xxx
and that is not being provided at runtime.xxx
is available on the PYTHON_PATH where your flow is run then the utilities will import correctlyMichael Hadorn
11/18/2020, 8:53 PM