Update _app.py
Update _app.py

if callback function belongs to an class ,line 333 will cause an exception, the "self" will missing
for example:
      myobj = MyClass()
      self.on_open = myobj.test()
this will nerver work
websocket-client/websocket-client