Skip to content

Commit

Permalink
Use scale in docstrings rather than start_workers (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrocklin committed Jul 9, 2018
1 parent b24ceae commit 9dc0feb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dask_jobqueue/pbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class PBSCluster(JobQueueCluster):
--------
>>> from dask_jobqueue import PBSCluster
>>> cluster = PBSCluster(queue='regular', project='DaskOnPBS')
>>> cluster.start_workers(10) # this may take a few seconds to launch
>>> cluster.scale(10) # this may take a few seconds to launch
>>> from dask.distributed import Client
>>> client = Client(cluster)
Expand Down
2 changes: 1 addition & 1 deletion dask_jobqueue/sge.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class SGECluster(JobQueueCluster):
--------
>>> from dask_jobqueue import SGECluster
>>> cluster = SGECluster(queue='regular')
>>> cluster.start_workers(10) # this may take a few seconds to launch
>>> cluster.scale(10) # this may take a few seconds to launch
>>> from dask.distributed import Client
>>> client = Client(cluster)
Expand Down
2 changes: 1 addition & 1 deletion dask_jobqueue/slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class SLURMCluster(JobQueueCluster):
env_extra=['export LANG="en_US.utf8"',
'export LANGUAGE="en_US.utf8"',
'export LC_ALL="en_US.utf8"'])
>>> cluster.start_workers(10) # this may take a few seconds to launch
>>> cluster.scale(10) # this may take a few seconds to launch
>>> from dask.distributed import Client
>>> client = Client(cluster)
Expand Down

0 comments on commit 9dc0feb

Please sign in to comment.