We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 498f497 commit fcb128eCopy full SHA for fcb128e
1 file changed
pyhilo/graphql.py
@@ -1,4 +1,5 @@
1
import asyncio
2
+import logging
3
from typing import Any, Dict, List, Optional
4
5
from gql import Client, gql
@@ -549,8 +550,8 @@ async def subscribe_to_device_updated(
549
550
) -> None:
551
LOG.debug("subscribe_to_device_updated called")
552
- #Setting log level to suppress keepalive messages on gql transport
553
- logging.getLogger('gql.transport.websockets').setLevel(logging.WARNING)
+ # Setting log level to suppress keepalive messages on gql transport
554
+ logging.getLogger("gql.transport.websockets").setLevel(logging.WARNING)
555
while True: # Loop to reconnect if the connection is lost
556
LOG.debug("subscribe_to_device_updated while true")
557
access_token = await self._get_access_token()
0 commit comments