docs: def _init_session(self, session):
          # type: (requests.Session) -> None
          """Init session level configuration of requests.
  
          This is initialization I want to do once only on a session.
          """
          _patch_redirect(session)
  
          # Change max_retries in current all installed adapters
          max_retries = self.config.retry_policy()
          for protocol in self._protocols:
              session.adapters[protocol].max_retries = max_retries