mosquito / aiohttp-xmlrpc

XMLRPC for aiohttp
MIT License
34 stars 19 forks source link

avoid deprecated asyncio.coroutine for async def methods #31

Closed graingert closed 4 years ago

mosquito commented 4 years ago

Please apply this helper https://github.com/mosquito/aiormq/blob/master/aiormq/tools.py#L21 instead

graingert commented 4 years ago

@mosquito

Please apply this helper mosquito/aiormq:aiormq/tools.py@master#L21 instead

so my original work around and the one in aiormq both introduce backwards compatibility issues. I've added a test to expose them, and applied a new workaround that doesn't trigger the deprecation warning for "async def" methods

mosquito commented 4 years ago

Fixed in 0.9.0