Web socket connection

Zen8_ith
I am trying to connect with web socket with the help of this code on gitgub of kite connect
from kiteconnect import WebSocket

# Initialise.
kws = WebSocket("api_key", "public_token", "zerodha_user_id")

It is showing this error
kiteconnect.ticker - ERROR - Connection error: 1006 - connection was closed uncleanly (I dropped the WebSocket TCP connection: on_connect() takes 1 positional argument but 2 were given)
Unhandled Error
This discussion has been closed.