Python socketio 中缺少 wait 关键字
wait keyword missing in Python socketio
下面是使用python-socketio
连接服务器的代码
import socketio
sio_bot = socketio.Client(logger =True,engineio_logger =True)
sio_bot.connect(IP,wait=False)
但我收到如下错误
sio_bot.connect(IP,wait=False)
TypeError: connect() got an unexpected keyword argument 'wait'
文档中提到了 wait 关键字
https://python-socketio.readthedocs.io/en/latest/api.html
python的版本是3.6,python-socketio的版本是python-socketio==4.6.0
请让我知道我错过了什么?
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?
您错过了 Change Log:
Release 5.1.0 - 2021-03-10
Added wait
argument to client's connect method
下面是使用python-socketio
连接服务器的代码import socketio
sio_bot = socketio.Client(logger =True,engineio_logger =True)
sio_bot.connect(IP,wait=False)
但我收到如下错误
sio_bot.connect(IP,wait=False)
TypeError: connect() got an unexpected keyword argument 'wait'
文档中提到了 wait 关键字 https://python-socketio.readthedocs.io/en/latest/api.html
python的版本是3.6,python-socketio的版本是python-socketio==4.6.0
请让我知道我错过了什么?
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?
您错过了 Change Log:
Release 5.1.0 - 2021-03-10
Added wait
argument to client's connect method