Build a retry-aware HTTP session factory using requests .
Build a retry-aware HTTP session factory using requests .: a task in repo2rlenv-code-instruct (Harbor dataset). Also implement extract adapter retry(session, url) that, given a session and a URL string, retrieves the HTTPAdapter mounted for that URL and returns its max retries object (a Retry…
The task
Also implement `extract_adapter_retry(session, url)` that, given a session and a URL string, retrieves the `HTTPAdapter` mounted for that URL and returns its `max_retries` object (a `Retry` instance).
Part of FineEnvs/repo2rlenv-code-instruct.