Skip to content

feat: speed up answering questions#1265

Merged
bdraco merged 2 commits into
masterfrom
cdef_service_info_records
Sep 11, 2023
Merged

feat: speed up answering questions#1265
bdraco merged 2 commits into
masterfrom
cdef_service_info_records

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant