-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
python==3.10
async_retrying==0.2.2
error:
TypeError: sleep() got an unexpected keyword argument 'loop'
This may be caused by the removal of loop parameter in later versions of python. Can you optimize it?
Source place:
@asyncio.coroutine
def callback(attempt, exc, args, kwargs, delay=None, *, loop):
if delay is None:
delay = callback.delay
yield from asyncio.sleep(attempt * delay, loop=loop)
return retry
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels