Skip to content

Commit fcb128e

Browse files
committed
Linting
1 parent 498f497 commit fcb128e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pyhilo/graphql.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import asyncio
2+
import logging
23
from typing import Any, Dict, List, Optional
34

45
from gql import Client, gql
@@ -549,8 +550,8 @@ async def subscribe_to_device_updated(
549550
) -> None:
550551
LOG.debug("subscribe_to_device_updated called")
551552

552-
#Setting log level to suppress keepalive messages on gql transport
553-
logging.getLogger('gql.transport.websockets').setLevel(logging.WARNING)
553+
# Setting log level to suppress keepalive messages on gql transport
554+
logging.getLogger("gql.transport.websockets").setLevel(logging.WARNING)
554555
while True: # Loop to reconnect if the connection is lost
555556
LOG.debug("subscribe_to_device_updated while true")
556557
access_token = await self._get_access_token()

0 commit comments

Comments
 (0)