(self)
| 971 | return self.max_retries |
| 972 | |
| 973 | def _strip_raw_response_header(self) -> None: |
| 974 | if not is_given(self.headers): |
| 975 | return |
| 976 | |
| 977 | if self.headers.get(RAW_RESPONSE_HEADER): |
| 978 | self.headers = {**self.headers} |
| 979 | self.headers.pop(RAW_RESPONSE_HEADER) |
| 980 | |
| 981 | class="cm"># override the `construct` method so that we can run custom transformations. |
| 982 | class="cm"># this is necessary as we don't want to do any actual runtime type checking |
no test coverage detected