79749242

Date: 2025-08-28 14:40:06
Score: 0.5
Natty:
Report link

Like you said stated here and here, you could be able to this:

from typing import ParamSpec, TypeVar, Callable
import tenacity

P = ParamSpec("P")
R = TypeVar("R")

@tenacity.retry
def foo_with_retry(*args: P.args, **kwargs: P.kwargs) -> None:
    foo(*args, **kwargs)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 0ro2