Closed bolliger32 closed 3 years ago
Feels very general using a name like
dask_kwargs
? Dask does lots of stuff... Consideringdask_client_kwargs
or something likemapgather_kwargs
as alternatives? I'm thinking of a future case where you need another kwarg passing to something else for dask. Calling this additiondask_kwargs
might be too general?
I like it - changed to just client_kwargs
.
flake8 rhg_compute_tools tests docs
Add the ability to pass kwargs to
client.submit
andclient.gather
as part of therhg_compute_tools.xarray
functions. I came across a situation where I wanted to pass thepriority
kwarg, so figured we might as well add the ability to pass any arbitrary kwarg here.