(response)
| 4936 | def _handle_retry_decision(self, retry_decision, response, host): |
| 4937 | |
| 4938 | def exception_from_response(response): |
| 4939 | if hasattr(response, 'to_exception'): |
| 4940 | return response.to_exception() |
| 4941 | else: |
| 4942 | return response |
| 4943 | |
| 4944 | retry_type, consistency = retry_decision |
| 4945 | if retry_type in (RetryPolicy.RETRY, RetryPolicy.RETRY_NEXT_HOST): |
nothing calls this directly
no test coverage detected