(run_time_secs: int = 3)
| 7 | |
| 8 | |
| 9 | def heavy_computation(run_time_secs: int = 3): |
| 10 | end_time: float = ( |
| 11 | time.perf_counter() + run_time_secs |
| 12 | ) # Run for `run_time_secs` seconds |
| 13 | while time.perf_counter() < end_time: |
| 14 | pass |
| 15 | |
| 16 | |
| 17 | class CustomOutput(BaseOutput): |
no outgoing calls
no test coverage detected
searching dependent graphs…