Implement a RetrySession class in task module.py that extends requests.Session to add automatic retry logic…
Implement a RetrySession class in task module.py that extends requests.Session to add automatic retry logic…: a task in repo2rlenv-code-instruct (Harbor dataset). RetrySession must accept two constructor parameters beyond the normal Session defaults: - max retries (int, default 3): maximum number…
The task
`RetrySession` must accept two constructor parameters beyond the normal `Session` defaults: - `max_retries` (int, default 3): maximum number of send attempts - `retry_delay` (float, default 0.0): seconds to wait between attempts
Part of FineEnvs/repo2rlenv-code-instruct.