Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make async_get_service_info available on the Zeroconf object #1366

Merged
merged 3 commits into from Apr 1, 2024

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Apr 1, 2024

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
Copy link

codecov bot commented Apr 1, 2024

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.

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
31 checks passed
@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.

None yet

1 participant