You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use source code, cause TypeError: WebSocketHandler.init() missing 2 required positional arguments: 'application' and 'request'. Try to remove file (web.py)'s code line super().__init__() in RequestHandler.init(), it runs ok. puzzled :(
The text was updated successfully, but these errors were encountered:
It sounds like you may be inheriting from both WebSocketHandler and RequestHandler (perhaps indirectly). I've never tried that and I'm not sure if it would work or not. It might be sensitive to the order of your base classes.
Fix what, exactly? There's not enough information here for me to tell what's going on. Can you provide a complete example of how you're using WebSocketHandler that demonstrates the problem?
use source code, cause
TypeError: WebSocketHandler.init() missing 2 required positional arguments: 'application' and 'request'
. Try to remove file (web.py)'s code linesuper().__init__()
in RequestHandler.init(), it runs ok. puzzled :(The text was updated successfully, but these errors were encountered: