I wanted to know if there's a function in dask.distributed that removes the files uploaded to the cluster using the client.upload_file()?
Basically, the opposite of the upload_file() function.
best regards
I wanted to know if there's a function in dask.distributed that removes the files uploaded to the cluster using the client.upload_file()?
Basically, the opposite of the upload_file() function.
best regards
Copyright © 2021 Jogjafile Inc.
There's no function to do this directly as of today. But as a work-around, you can use
client.runwithos.remove:where
file.pycan be replaced by the name of the file that you uploaded.Note that the input argument to
client.runmust bedask_worker, relevant docs here: https://distributed.dask.org/en/latest/api.html#distributed.Client.run