liom_toolkit.utils.dask_client module
- class liom_toolkit.utils.dask_client.DaskClientManager
Bases:
object- get_client(address='')
Get the client to a local cluster or a cluster. Implicitly sets the client when not yet initialized. Defaults to local cluster, but will connect when given an address.
- Parameters:
address (str) – The address of the cluster
- Returns:
The client
- set_client(address='')
Set the client to a local cluster or a cluster. Explicit function.
- Parameters:
address (str) – The address of the cluster