-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Remove x509 ABCs #11437
Comments
Hi @alex How I plan to implement this:Taking Certificate class as an example :
Removing Addressing the changes further: Remove then Remove then I am bit confused on how to Implement methods and properties here should return as here of find the linked function it sounds a bit ddumb I know but I think with little direction I can pull this off. Let me know if I am missing something or wrong somewhere, I'll try to cover those cases again and revert back |
We'd be happy to take contributions for this yes! In terms of what needs to be done: These classes need to be deleted, and the concrete implementations should be exposed with the same name, and then we have to make sure the mypy types work correctly for them. (With teh small asterisk that |
Thanks @alex Sure, I hope you can help me on places where |
Please do each of these in separate pull requests, not one big one.
…On Fri, Oct 18, 2024 at 5:09 PM treavvasu ***@***.***> wrote:
Thanks @alex <https://github.com/alex>
I'll try my best
Sure, I hope you can help me on places where RevokedCertificate gets too
complex :)
—
Reply to this email directly, view it on GitHub
<#11437 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAGBDZXJEXQ5O44EDYTMDZ4F2JNAVCNFSM6AAAAABMTCYXKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRTGIZTMNRYGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
All that is necessary for evil to succeed is for good people to do nothing.
|
Thanks I was about to ask for this too. |
In numerous places we only support the concrete classes, and there's no real use case for people to implement the ABCs themselves.
Therefore, we should just drop the ABCs, and replace them with the concrete base classes.
Tasks
The text was updated successfully, but these errors were encountered: