From a23f453dccf4e5bf495d8d4b5bd1431af20f9deb Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Tue, 4 Oct 2022 15:43:09 +0100 Subject: [PATCH] Remove deprecated asyncio loop arg --- cylc/uiserver/websockets/tornado.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cylc/uiserver/websockets/tornado.py b/cylc/uiserver/websockets/tornado.py index cdbb3d2a..8e3bf06d 100644 --- a/cylc/uiserver/websockets/tornado.py +++ b/cylc/uiserver/websockets/tornado.py @@ -121,7 +121,7 @@ async def _handle(self, ws, request_context=None): await self.on_close(connection_context) async def handle(self, ws, request_context=None): - await shield(self._handle(ws, request_context), loop=self.loop) + await shield(self._handle(ws, request_context)) async def on_start(self, connection_context, op_id, params): # Attempt to unsubscribe first in case we already have a subscription