youknowone / ring

Python cache interface with clean API and built-in memcache & redis + asyncio support.
http://ring-cache.readthedocs.io/en/latest/
Other
480 stars 37 forks source link

`@coroutine` decorator is about to deprecate #154

Closed comfuture closed 4 years ago

comfuture commented 4 years ago

@coroutine decorator that used in ring/func/asyncio.py` is about to deprecate.

.../lib/python3.8/site-packages/ring/func/asyncio.py:112: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def get(self, key):

it is nice to be patched in future version.

Best,