Skip to content

feat: make async_get_service_info available on the Zeroconf object#1366

Merged
bdraco merged 3 commits into
masterfrom
timeouts_docs
Apr 1, 2024
Merged

feat: make async_get_service_info available on the Zeroconf object#1366
bdraco merged 3 commits into
masterfrom
timeouts_docs

Conversation

@bdraco

@bdraco bdraco commented Apr 1, 2024

Copy link
Copy Markdown
Member

Since the AsyncServiceBrowser will return a Zeroconf object, it was not obvious how to do an async lookup because only get_service_info was exposed on the Zeroconf object. async_get_service_info has been moved to the Zeroconf object, and AsyncZeroconf.async_get_service_info now wraps this method

related issue #1286

@bdraco bdraco changed the title feat: Make async_get_service_info available on the Zeroconf object feat: make async_get_service_info available on the Zeroconf object Apr 1, 2024
@codecov

codecov Bot commented Apr 1, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.75%. Comparing base (517d7d0) to head (584616a).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1366      +/-   ##
==========================================
- Coverage   99.75%   99.75%   -0.01%     
==========================================
  Files          30       30              
  Lines        3238     3237       -1     
  Branches      536      536              
==========================================
- Hits         3230     3229       -1     
  Misses          5        5              
  Partials        3        3              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

bdraco added 2 commits April 1, 2024 09:28
Since the AsyncServiceBrowser will return a Zeroconf object, it was
not obvious how to do an async lookup because only get_service_info
was exposed on the Zeroconf object. async_get_service_info has been
moved to the Zeroconf object, and AsyncZeroconf.async_get_service_info
now wraps this method

related issue #1286
Since the AsyncServiceBrowser will return a Zeroconf object, it was
not obvious how to do an async lookup because only get_service_info
was exposed on the Zeroconf object. async_get_service_info has been
moved to the Zeroconf object, and AsyncZeroconf.async_get_service_info
now wraps this method
@bdraco bdraco marked this pull request as ready for review April 1, 2024 19:39
@bdraco bdraco merged commit c4c2dee into master Apr 1, 2024
@bdraco bdraco deleted the timeouts_docs branch April 1, 2024 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant