(*args, **kwargs)
| 28 | |
| 29 | def with_retry(f: Callable): |
| 30 | def wrapper(*args, **kwargs): |
| 31 | while True: |
| 32 | try: |
| 33 | return f(*args, **kwargs) |
| 34 | except Exception as e: |
| 35 | print(f"Retry failed with error: {e}, retrying...") |
| 36 | continue |
| 37 | return wrapper |
| 38 | |
| 39 | class IndependentFacts(BaseModel): |
nothing calls this directly
no outgoing calls
no test coverage detected