feat: speed up answering questions by bdraco · Pull Request #1265 · python-zeroconf/python-zeroconf

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@bdraco

Copy link Copy Markdown

Member

@bdraco bdraco commented

Sep 11, 2023

  • Adds cdefs for all ServiceInfo record generators
- Adds cdefs for all ServiceInfo record generators

@codecov

Copy link Copy Markdown

codecov bot commented

Sep 11, 2023

edited

Loading

Codecov Report

Patch coverage is 100.00% of modified lines.

Files Changed Coverage
src/zeroconf/__init__.py 100.00%
src/zeroconf/_handlers/query_handler.py 100.00%
src/zeroconf/_services/info.py 100.00%

📢 Thoughts on this report? Let us know!.

version: IPVersion = IPVersion.All,
) -> List[DNSAddress]:
"""Return matching DNSAddress from ServiceInfo."""
return self._dns_addresses(override_ttl, version)
Copy link Copy Markdown

Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have preferred not to add the _ functions but I don't want this to be a breaking change

@bdraco bdraco marked this pull request as ready for review

September 11, 2023 14:55

@bdraco bdraco merged commit 37bfaf2 into master

Sep 11, 2023

@bdraco bdraco deleted the cdef_service_info_records branch

September 11, 2023 14:55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@bdraco