code: def __init__(self, url, oauth2_session, shutdown_event, proxies=None):
      self.url = url
      self.client = WebsocketClientAdapter()
      self._shutdown_event = shutdown_event
      self._oauth2_session = oauth2_session
      self._reconnect_counter = ReconnectCounter()
      self._token = oauth2_session.token
      self._proxies = proxies
  
imports: import random
  from websocket import WebSocketConnectionClosedException, WebSocketTimeoutException
  from neptune.common.websockets.websocket_client_adapter import WebsocketClientAdapter, WebsocketNotConnectedException
label_desc: Use image node_id 1 to create a new ReconnectingWebsocket object from inherited base classes: object with example: obj = ReconnectingWebsocket(url, oauth2_session, shutdown_event, proxies)