Implement a RetrySession class in task module.py that wraps requests.Session and adds automatic retry logic…
Implement a RetrySession class in task module.py that wraps requests.Session and adds automatic retry logic…: a task in repo2rlenv-code-instruct (Harbor dataset). RetrySession(retries=3, backoff factor=0.3) — creates a session that retries failed connections up to retries times. It must expose a…
The task
`RetrySession(retries=3, backoff_factor=0.3)` — creates a session that retries failed connections up to `retries` times. It must expose a `get_adapter_max_retries(url)` method that returns the integer max-retries value configured on the adapter mounted for that URL.
Part of FineEnvs/repo2rlenv-code-instruct.