]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Improve get_rrset/find_rrset API. (#922)
authorBrian Wellington <bwelling@xbill.org>
Thu, 6 Apr 2023 13:01:59 +0000 (06:01 -0700)
committerGitHub <noreply@github.com>
Thu, 6 Apr 2023 13:01:59 +0000 (06:01 -0700)
commitc7613943d93986ac23cccff7350c42a32fa5b3bd
treedba9870749d11f2d5e5d632e924c87e961d7520c
parent7cd3ee83efb67662e3dbe0c1fdb409e1f95efc3f
Improve get_rrset/find_rrset API. (#922)

* Improve get_rrset/find_rrset API.

This allows most of the parameters to be specified as strings, matching
the interface for dns.message.make_query().

* Remove unneeded "the_section".

There's no need to use a separate internal variable for the section;
mypy doesn't complain about reuse.
dns/message.py
tests/test_message.py