Implement retry(func, retries=7, description=None) that calls the function, logs each failed attempt with the description and re-raises after the last one. Unit-test it with a fake that fails n times.
Phase: MIL-007
Reference: O6
Implement `retry(func, retries=7, description=None)` that calls the function, logs each failed attempt with the description and re-raises after the last one. Unit-test it with a fake that fails n times.
Phase: MIL-007
Reference: O6
Tirsvad
added this to the MIL-007 Lecture step 9: resilience against network failures milestone 2026-10-28 10:20:36 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Implement
retry(func, retries=7, description=None)that calls the function, logs each failed attempt with the description and re-raises after the last one. Unit-test it with a fake that fails n times.Phase: MIL-007
Reference: O6