Skip to content

Commit

Permalink
Version 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Booth committed Feb 28, 2018
1 parent 1a2e549 commit 14c6f6a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion aiorpcx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
rpc.__all__ +
util.__all__)

_version = (0, 1)
_version = (0, 2)
_version_str = '.'.join(str(part) for part in _version)
13 changes: 6 additions & 7 deletions aiorpcx/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ class RPCRequestOut(RPCRequest, Future):
result() method.
The request can be await-ed on and/or it can be given a handler to
call on completion. If both, the handler is called before the
await returns.
call on completion.
'''

_next_id = 0
Expand Down Expand Up @@ -184,12 +183,12 @@ def __repr__(self):
class RPCBatchOut(RPCBatch, Future):
'''Represents an outgoing RPC batch request.
You can specify a callback for each individual request in the batch,
and/or a callback for the batch as a whole (via its future).
You can specify a callback to call when all requests in the batch
have completed; it is passed the batch object. The batch object
does not have a meaningful result.
The results can be
The batch request can be await-ed.
The batch can be await-ed on and/or it can be given a handler to
call on completion. This is also true for its member requests.
'''
def __init__(self, on_done=None, *, loop=None):
'''Create an outgoig batch request. on_done can be None.'''
Expand Down

0 comments on commit 14c6f6a

Please sign in to comment.