Interfaceget_client

get_client

Interface.get_client(ip=None, client_port=38786, timeout=120)

Gets the distributed.client object if dask has been setup

Parameters:
  • client_port (int) – the port to use for the client

  • timeout (int|float) – the timeout for the client (in seconds)

Returns:

the client object

Return type:

Client