MockJupyterWebSocket#
- class rubin.nublado.client.MockJupyterWebSocket(user, session_id, parent)#
Bases:
objectSimulate the WebSocket connection to a Jupyter Lab.
Note
The methods are named the reverse of what you would expect:
sendreceives a message, andrecvsends a message back to the caller. This is because this is a mock of a client library but is simulating a server, so is operating in the reverse direction.- Parameters:
user (
str)session_id (
str)parent (
MockJupyter)
Methods Summary
Methods Documentation