code: def __init__(self, session=None):
      self._ws = None
      self._session = session or aiohttp.ClientSession()
      self._run = True
  
file_path: perspective/python/perspective/perspective/client/aiohttp.py
imports: import aiohttp
  import asyncio
  from .websocket import PerspectiveWebsocketClient, PerspectiveWebsocketConnection, Periodic
label_desc: Use image node_id 1 to create a new PerspectiveAIOHTTPWebsocketConnection object from inherited base classes: PerspectiveWebsocketConnection with example: obj = PerspectiveAIOHTTPWebsocketConnection(session)