code: def __init__(self, *args: Any, **kwargs: Any):
      self.timeout = kwargs.pop("timeout", _DEFAULT_REQUEST_TIMEOUT)
      super().__init__(*args, **kwargs)
  
imports: import socket
  from functools import wraps
  from typing import Any, Callable, Dict, Optional
  from urllib.parse import urljoin
  import requests
  from lightning_cloud.rest_client import GridRestClient, LightningClient, create_swagger_client
  from requests import Session
  from requests.adapters import HTTPAdapter
  from requests.exceptions import ConnectionError, ConnectTimeout, ReadTimeout
  from urllib3.util.retry import Retry
  from lightning.app.core import constants
  from lightning.app.utilities.app_helpers import Logger
label_desc: Use image node_id 1 to create a new CustomRetryAdapter object from inherited base classes: HTTPAdapter with example: obj = CustomRetryAdapter()