code: def __init__(self, url: str):
      self._url: str = url
      self._closing: bool = False
      self._conn: WsConnection | None = None
  
file_path: nni/nni/runtime/command_channel/websocket/channel.py
imports: from __future__ import annotations
  import logging
  import time
  from ..base import Command, CommandChannel
  from .connection import WsConnection
label_desc: Use image node_id 1 to create a new WsChannelClient object from inherited base classes: CommandChannel with example: obj = WsChannelClient(url)