Skip to content

Commit

Permalink
Restyle
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Sep 6, 2024
1 parent 1ea4432 commit 260cfab
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/python_testing/mdns_discovery/mdns_discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@


import asyncio
import logging
import json

import logging
from dataclasses import asdict, dataclass
from enum import Enum
from typing import Dict, List, Optional
Expand All @@ -29,6 +28,7 @@

logger = logging.getLogger(__name__)


@dataclass
class MdnsServiceInfo:
# The unique name of the mDNS service.
Expand Down Expand Up @@ -82,7 +82,7 @@ class MdnsDiscovery:

DISCOVERY_TIMEOUT_SEC = 15

def __init__(self, verbose_logging:bool=False):
def __init__(self, verbose_logging: bool = False):
"""
Initializes the MdnsDiscovery instance.
Expand Down Expand Up @@ -378,7 +378,6 @@ async def _get_service(self, service_type: MdnsServiceType,
else:
return None


def _log_output(self) -> str:
"""
Converts the discovered services to a JSON string and log it.
Expand Down

0 comments on commit 260cfab

Please sign in to comment.