Find deprecated @asyncio.coroutine decorator

Proprietary

Find usage of the deprecated @asyncio.coroutine decorator which was removed in Python 3.11. Convert to async def syntax with await instead of yield from.

org.openrewrite.python.migrate.FindAsyncioCoroutineDecorator
mod run . --recipe=org.openrewrite.python.migrate.FindAsyncioCoroutineDecorator

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.