Skip to content

Commit d8eee6a

Browse files
takluyverkevin-bates
authored andcommitted
Call tornado WebSocketHandler.get() as a coroutine
This change will probably be needed for Tornado 6. Ben Darnell figured it out. https://groups.google.com/d/msg/python-tornado/mSeG7Kc6z4o/baeTDOvJGgAJ
1 parent 863bc26 commit d8eee6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_server/base/zmqhandlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def get(self, *args, **kwargs):
279279
yield gen.maybe_future(res)
280280
res = super(AuthenticatedZMQStreamHandler, self).get(*args, **kwargs)
281281
yield gen.maybe_future(res)
282-
282+
283283
def initialize(self):
284284
self.log.debug("Initializing websocket connection %s", self.request.path)
285285
self.session = Session(config=self.config)

0 commit comments

Comments
 (0)