(self, *args, **kwargs)
| 60 | self._timeout = timeout |
| 61 | |
| 62 | def request(self, *args, **kwargs): |
| 63 | kwargs.setdefault("timeout", self._timeout) |
| 64 | return super().request(*args, **kwargs) |
| 65 | |
| 66 | arxiv_client = arxiv.Client(delay_seconds = ARXIV_DELAY_SECONDS, num_retries = ARXIV_NUM_RETRIES) |
| 67 | arxiv_client._session = _TimeoutSession(ARXIV_TIMEOUT) |
no outgoing calls
no test coverage detected