As the title implies, the @asyncio.coroutine above a function is deprecated (see [python docs](https://docs.python.org/3/library/asyncio-task.html#generator-based-coroutines)) Since deprecated feature, it should be upgraded in favor of `async def function():`