code: def __init__(self, wsClient, maxInactivity, responseTimeout):
      super(PingKeepAliveMgr, self).__init__(
          wsClient, maxInactivity, responseTimeout
      )
  
imports: import json
  from six.moves.urllib.parse import urlencode
  import pyalgotrade
  from pyalgotrade.websocket import client
  import pyalgotrade.logger
label_desc: Use image node_id 1 to create a new PingKeepAliveMgr object from inherited base classes: client with example: obj = PingKeepAliveMgr(wsClient, maxInactivity, responseTimeout)