aiorpc
aiorpc copied to clipboard
A fast python rpc library based on asyncio and MessagePack
In Python 3.10, for many of asyncio's higher-level functions, the `loop` parameter got removed. Consequently, `aiorcp` yields `TypeError: create_connection() got an unexpected keyword argument 'loop'`. One responsible line seems to...
Hey, for some reason, when one uses `client = RPCClient(path=PATH, unpack_params={'strict_map_key': False})` the responses are not tuples, but lists, and [this](https://github.com/choleraehyq/aiorpc/blob/master/aiorpc/client.py#L86) test fails. This PR tries to remedy that. The...
Fix exception when connection explicitly closed during background task running.
execute `from aioserver import RPCServer` cause error and pycharm cant find RPCServer from source code here is pycharm warning  my project structure like this 
I have been trying this library out, and it seems perfect for what we need. However, whenever a client calls any function on the servers the logs are filled with...
When the wait_for for the callback of an async function times out an exception is raised. It's then sent over to the client. However, the info from the exception is...
Client: ``` for i in range(0, 20): loop = uvloop.new_event_loop() asyncio.set_event_loop(loop) client = RPCClient('proxy', 6000, timeout=100) loop.run_until_complete(do(client)) # client.close()
When you encounter an internal exception, such as a msgpack exception saying it can't serialize a string, the server doesn't send anything to the client- it just times out. This...
API Timeout when calling an invalid function and using Class Based methods.
I think it would be awesome if there was a way to define what kind of input a function takes, if it's required, and a way to enforce the type...