(self, url)
| 503 | self.adapters.pop(proto) |
| 504 | |
| 505 | def get_adapter(self, url): |
| 506 | try: |
| 507 | return super().get_adapter(url) |
| 508 | except requests.exceptions.InvalidSchema as e: |
| 509 | if self._custom_adapter: |
| 510 | return self._custom_adapter |
| 511 | else: |
| 512 | raise e |
| 513 | |
| 514 | @property |
| 515 | def api_version(self): |
no outgoing calls