Skip to content

Commit 0027b9a

Browse files
committed
mypy is wrong: is awaitable
1 parent a2f02f1 commit 0027b9a

File tree

1 file changed

+1
-1
lines changed
  • services/sidecar/src/simcore_service_sidecar

1 file changed

+1
-1
lines changed

services/sidecar/src/simcore_service_sidecar/rabbitmq.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async def connect(self):
6767
self.connection.add_reconnect_callback(_reconnect_callback)
6868

6969
log.debug("Creating channel")
70-
self.channel = self.connection.channel(publisher_confirms=False)
70+
self.channel = await self.connection.channel(publisher_confirms=False)
7171
self.channel.add_close_callback(_channel_close_callback)
7272

7373
log.debug("Declaring %s exchange", self.config.channels["log"])

0 commit comments

Comments
 (0)