Hubungkan dan lepaskan acara di Socketio Python

@sio.event
def connect(sid, environ, auth):
    print('connect ', sid)

@sio.event
def disconnect(sid):
    print('disconnect ', sid)
STEVE-ROLAND NDE TSAPI