distributed
                                
                                 distributed copied to clipboard
                                
                                    distributed copied to clipboard
                            
                            
                            
                        Add some creation context to ``Client`` docs
This came out of @martindurant's suggestion in #6804

So then the API page should point here and say that it is strictly reference? Should the docstring for Client contain any of this?
So then the API page should point here and say that it is strictly reference?
That would probably be the cleanest solution. The API should be just reference, and this kind of explanation and context should be in a narrative doc (like this one).
Should the docstring for Client contain any of this?
The docstring already has a version of this.
The docstring already has a version of this.
Perhaps I should have said: a better version than already exists there :)
The docstring already has a version of this.
Perhaps I should have said: a better version than already exists there :)
:smiling_face_with_tear: yes please feel free to update that!
Ping @scharlottej13 for visibility
Current docstring:
Connect to and submit computation to a Dask cluster
The Client connects users to a Dask cluster. It provides an asynchronous user interface around functions and futures. This class resembles executors in
concurrent.futuresbut also allowsFutureobjects withinsubmit/mapcalls. When a Client is instantiated it takes over alldask.computeanddask.persistcalls by default.It is also common to create a Client without specifying the scheduler address , like
Client(). In this case the Client creates a :class:LocalClusterin the background and connects to that. Any extra keywords are passed from Client to LocalCluster in this case. See the LocalCluster documentation for more information.Parameters
address: string, or Cluster This can be the address of a
Schedulerserver like a string'127.0.0.1:8786'or a cluster object likeLocalCluster()
Unit Test Results
See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.
15 files ±0 15 suites ±0 6h 39m 54s :stopwatch: + 28m 14s 2 977 tests ±0 2 883 :heavy_check_mark: - 1 88 :zzz: +1 3 :x: - 2 3 :fire: +2 22 074 runs +2 21 034 :heavy_check_mark: ±0 1 031 :zzz: +2 5 :x: - 3 4 :fire: +3
For more details on these failures and errors, see this check.
Results for commit ee741820. ± Comparison against base commit 236945a3.