Test Dask GatewayΒΆ

[1]:
from dask_gateway import Gateway
from dask.distributed import Client

gateway = Gateway()
cluster = gateway.new_cluster()
cluster
/srv/conda/envs/notebook/lib/python3.9/site-packages/dask_gateway/client.py:21: FutureWarning: format_bytes is deprecated and will be removed in a future release. Please use dask.utils.format_bytes instead.
  from distributed.utils import LoopRunner, format_bytes
[2]:
client = Client(cluster)
client
[2]:

Client

Client-778ad0a5-32a4-11ec-8164-c91cd789f4d8

Connection method: Cluster object Cluster type: dask_gateway.GatewayCluster
Dashboard: https://hub.binder.pangeo.io/services/dask-gateway/clusters/prod.529dabe7f858464a8172ff5ebd304cab/status

Cluster Info

GatewayCluster