Skip to content

Make DNSRecords hashable#611

Merged
bdraco merged 1 commit into
python-zeroconf:masterfrom
bdraco:dns_records_hashable
Jun 14, 2021
Merged

Make DNSRecords hashable#611
bdraco merged 1 commit into
python-zeroconf:masterfrom
bdraco:dns_records_hashable

Conversation

@bdraco

@bdraco bdraco commented Jun 14, 2021

Copy link
Copy Markdown
Member
  • Allows storing them in a set for de-duplication

Breakout from #603

Needed to be able to check for duplicates to solve #604

- Allows storing them in a set for de-duplication
@codecov-commenter

codecov-commenter commented Jun 14, 2021

Copy link
Copy Markdown

Codecov Report

Merging #611 (4c7cd2f) into master (22bd147) will decrease coverage by 0.08%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #611      +/-   ##
==========================================
- Coverage   95.68%   95.60%   -0.09%     
==========================================
  Files          18       18              
  Lines        1946     1956      +10     
  Branches      345      345              
==========================================
+ Hits         1862     1870       +8     
- Misses         45       46       +1     
- Partials       39       40       +1     
Impacted Files Coverage Δ
zeroconf/_dns.py 99.11% <100.00%> (+0.01%) ⬆️
zeroconf/_utils/aio.py 96.42% <0.00%> (-3.58%) ⬇️
zeroconf/_core.py 89.18% <0.00%> (-0.68%) ⬇️
zeroconf/_services/__init__.py 93.22% <0.00%> (+0.26%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 22bd147...4c7cd2f. Read the comment docs.

@bdraco bdraco merged commit b7d8678 into python-zeroconf:master Jun 14, 2021
@bdraco bdraco deleted the dns_records_hashable branch June 14, 2021 19:35
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.

2 participants