Below is the code for connecting to server using python-socketio
import socketio
sio_bot = socketio.Client(logger =True,engineio_logger =True)
sio_bot.connect(IP,wait=False)
but I am getting an error as below
sio_bot.connect(IP,wait=False)
TypeError: connect() got an unexpected keyword argument 'wait'
The documentation mentions the wait keyword https://python-socketio.readthedocs.io/en/latest/api.html
The version of python is 3.6 and the version of python-socketio is python-socketio==4.6.0
Please let me know what am I missing?