Skip to content

Commit 260cfab

Browse files
committed
Restyle
1 parent 1ea4432 commit 260cfab

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/python_testing/mdns_discovery/mdns_discovery.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717

1818

1919
import asyncio
20-
import logging
2120
import json
22-
21+
import logging
2322
from dataclasses import asdict, dataclass
2423
from enum import Enum
2524
from typing import Dict, List, Optional
@@ -29,6 +28,7 @@
2928

3029
logger = logging.getLogger(__name__)
3130

31+
3232
@dataclass
3333
class MdnsServiceInfo:
3434
# The unique name of the mDNS service.
@@ -82,7 +82,7 @@ class MdnsDiscovery:
8282

8383
DISCOVERY_TIMEOUT_SEC = 15
8484

85-
def __init__(self, verbose_logging:bool=False):
85+
def __init__(self, verbose_logging: bool = False):
8686
"""
8787
Initializes the MdnsDiscovery instance.
8888
@@ -378,7 +378,6 @@ async def _get_service(self, service_type: MdnsServiceType,
378378
else:
379379
return None
380380

381-
382381
def _log_output(self) -> str:
383382
"""
384383
Converts the discovered services to a JSON string and log it.

0 commit comments

Comments
 (0)