The code to run ainit constructors in the Synchronous mixin was using the deprecated asyncio.coroutine() decorator, which was fully removed in Python 3.11. Thankfully we can use the same approach for ainit that this same class uses below for wrapping generators.
The code to run ainit constructors in the Synchronous mixin was using the deprecated asyncio.coroutine() decorator, which was fully removed in Python 3.11. Thankfully we can use the same approach for ainit that this same class uses below for wrapping generators.