-
-
Notifications
You must be signed in to change notification settings - Fork 307
Closed
Description
AttemptManager currently doesn't support async context manager protocol, requiring nesting two times instead of one if you want to use an async context manager with retrying:
async for attempt in retrying:
with retrying:
async with ratelimit:
...Because AttemptManager doesn't do any IO I think it should be ok to just call into sync __enter__ and __exit_
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels