Repository navigation
Update client.py by @tharris72 - #5670
Merged
Merged
Conversation
Adding the Returns numpy style documentation to the doc strings. This is for issue dask#3578
more updates to the doc strings
modified: distributed/client.py testing out the commit
modified: distributed/client.py
modified: distributed/client.py modified: distributed/utils.py
modified: distributed/client.py modified: distributed/pubsub.py
Fixing the doc string warnings from flake8
more flake8 updates
more flake8 updates
more flake8 updates
more flake8 updates
more flake8 updates
more flake8 updates
more flake8 updates
more flake8 updates
ran black
Closed
Member
Author
|
Thanks @tharris72 this is in! |
jrbourbeau
reviewed
Jan 21, 2022
jrbourbeau
left a comment
Member
There was a problem hiding this comment.
Thanks @jsignell @tharris72 -- apologies for the late review
Comment on lines
+262
to
+265
| Returns | ||
| ------- | ||
| result : asyncio.Future | ||
| The Future that contains the result of the computation |
Member
There was a problem hiding this comment.
I think this is be incorrect. Future.result() should return the actual result (or a coroutine if the Client is in asynchronous mode).
Comment on lines
+421
to
+425
| Returns | ||
| ------- | ||
| Future | ||
| The Future that contains the traceback | ||
|
|
Member
There was a problem hiding this comment.
Similar comment here, this returns the actual traceback object (or coroutine)
| Parameters | ||
| ---------- | ||
| _in_destructor: bool | ||
| Not used |
Member
There was a problem hiding this comment.
If this isn't ever used, then I'd prefer to remove it altogether
Comment on lines
+690
to
+693
| serializers | ||
| The serializers to turn an object into a string | ||
| deserializers | ||
| The deserializers to turn the string into the original object |
Member
There was a problem hiding this comment.
(De)Serializers don't convert to strings
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This replaces #4517 since that PR got pretty stale. I'll merge this today if there are now complaints.