Created
March 30, 2020 18:44
-
-
Save jhamman/f1f26391c7bc3d716e06ade1596ea84c to your computer and use it in GitHub Desktop.
dask_gateway_3.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dask.distributed import Client | |
from dask_gateway import Gateway | |
gateway = Gateway() # connect to Gateway | |
cluster = gateway.new_cluster() # create cluster | |
cluster.scale(...) # scale cluster | |
client = Client(cluster) # connect Client to Cluster |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment