docstr: Create a `PerspectiveWebsocketClient` that interfaces with a
  Perspective server over a Websocket
docstr_tok: ["Create","a","`","PerspectiveWebsocketClient","`","that","interfaces","with","a","Perspective","server","over","a","Websocket"]
code: def __init__(self, websocket: PerspectiveWebsocketConnection):
      """Create a `PerspectiveWebsocketClient` that interfaces with a
      Perspective server over a Websocket"""
      super(PerspectiveWebsocketClient, self).__init__()
  
      self._websocket = websocket
      self._pending_binary = None
      self._pending_binary_length = 0
      self._pending_port_id = None
      self._full_binary = b""
      self._json_queue = []
      self._lock = Lock()
  
file_path: perspective/python/perspective/perspective/client/websocket.py
imports: import asyncio
  import json
  from abc import ABC, abstractmethod
  from threading import Lock
  from .base import PerspectiveClient
  from ..manager.manager_internal import DateTimeEncoder
label_desc: Use image node_id 1 to create a new PerspectiveWebsocketClient object from inherited base classes: PerspectiveClient with example: obj = PerspectiveWebsocketClient(websocket)