We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30adb7f commit f856be6Copy full SHA for f856be6
1 file changed
examples/async_apple_scanner.py
@@ -48,7 +48,7 @@ def async_on_service_state_change(
48
49
async def _async_show_service_info(zeroconf: Zeroconf, service_type: str, name: str) -> None:
50
info = AsyncServiceInfo(service_type, name)
51
- await info.async_request(zeroconf, 3000)
+ await info.async_request(zeroconf, 3000, question_type=DNSQuestionType.QU)
52
print("Info from zeroconf.get_service_info: %r" % (info))
53
if info:
54
addresses = ["%s:%d" % (addr, cast(int, info.port)) for addr in info.parsed_addresses()]
0 commit comments