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

Support registering new types with classes. #1167

Merged
merged 3 commits into from
Nov 29, 2024

Conversation

bwelling
Copy link
Collaborator

Previously, dns.rdata.register_type() required passing a module which contained the implementation of the new type, and it would extract the class from the module. This change allows passing the class directly.

Previously, dns.rdata.register_type() required passing a module which
contained the implementation of the new type, and it would extract the
class from the module.  This change allows passing the class directly.
@rthalley rthalley merged commit f972afd into rthalley:main Nov 29, 2024
8 checks passed
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