@@ -478,7 +478,7 @@ def __del__(self):
478478 try :
479479 self .release ()
480480 except AttributeError :
481- # Ocassionally we see this error when shutting down the client
481+ # Occasionally we see this error when shutting down the client
482482 # https://github.com/dask/distributed/issues/4305
483483 if not sys .is_finalizing ():
484484 raise
@@ -2851,7 +2851,7 @@ def run(
28512851 wait : boolean (optional)
28522852 If the function is asynchronous whether or not to wait until that
28532853 function finishes.
2854- nanny : bool, defualt False
2854+ nanny : bool, default False
28552855 Whether to run ``function`` on the nanny. By default, the function
28562856 is run on the worker process. If specified, the addresses in
28572857 ``workers`` should still be the worker addresses, not the nanny addresses.
@@ -2885,7 +2885,7 @@ def run(
28852885 >>> def get_status(dask_worker):
28862886 ... return dask_worker.status
28872887
2888- >>> c.run(get_hostname ) # doctest: +SKIP
2888+ >>> c.run(get_status ) # doctest: +SKIP
28892889 {'192.168.0.100:9000': 'running',
28902890 '192.168.0.101:9000': 'running}
28912891
@@ -4206,7 +4206,7 @@ def get_scheduler_logs(self, n=None):
42064206 Parameters
42074207 ----------
42084208 n : int
4209- Number of logs to retrive . Maxes out at 10000 by default,
4209+ Number of logs to retrieve . Maxes out at 10000 by default,
42104210 configurable via the ``distributed.admin.log-length``
42114211 configuration value.
42124212
@@ -4222,7 +4222,7 @@ def get_worker_logs(self, n=None, workers=None, nanny=False):
42224222 Parameters
42234223 ----------
42244224 n : int
4225- Number of logs to retrive . Maxes out at 10000 by default,
4225+ Number of logs to retrieve . Maxes out at 10000 by default,
42264226 configurable via the ``distributed.admin.log-length``
42274227 configuration value.
42284228 workers : iterable
0 commit comments