Skip to content

DOC/API: Signature for base class write / read#2472

Merged
mrocklin merged 1 commit intodask:masterfrom
TomAugspurger:abc-sig
Jan 21, 2019
Merged

DOC/API: Signature for base class write / read#2472
mrocklin merged 1 commit intodask:masterfrom
TomAugspurger:abc-sig

Conversation

@TomAugspurger
Copy link
Member

yield comm.write(msg, serializers=serializers, on_error='raise')
if reply:
response = yield comm.read(deserializers=deserializers)
else:
response = None

will unconditionally pass these arguments, so they should likely be
present in the base class's signature. I think they're generally good to
support if possible.

https://github.com/dask/distributed/blob/b818d788deea53b9d6a5fff332d92dcda3084b76/distributed/core.py#L455-L459
will unconditionally pass these arguments, so they should likely be
present in the base class's signature. I think they're generally good to
support if possible.
@mrocklin mrocklin merged commit 90758dc into dask:master Jan 21, 2019
@mrocklin
Copy link
Member

Thanks @TomAugspurger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants