Conversation
|
|
tenacity/_asyncio.py
Outdated
| WrappedFn = t.TypeVar("WrappedFn", bound=t.Callable[..., t.Awaitable[t.Any]]) | ||
|
|
||
|
|
||
| def is_coroutine_callable(call: t.Callable[..., t.Any]) -> bool: |
There was a problem hiding this comment.
Good call! I ended up moving the function to _utils and slightly amending it (odd partial behaviour in 3.8 and 3.9, even though docs say otherwise). wdyt? 2616c4a
323c008 to
2616c4a
Compare
|
@jd any more thoughts on this? Happy to clarify anything else I may have missed. |
|
@jd I merged changes from |
|
@jd now that this is merged, do you think it's ready to be released in a new version? Or would you rather see some async strategies merged first too? |
Fixes #249 #412
Second PR after breaking down #433 (follows #434)
Add async strategies hasier/tenacity#2Add async strategies #451After DRYing the
iter()function, makeAsyncRetryingsupportasynccallbacks.Supersedes hasier#1