📝 Description of the feature
I recently learned about Protocols in Python, which is a more Python-esque way to create interfaces. The changes are very minor and should not impact any code using this library. I suggest we make the same change to these interfaces.
More details on Protocol at: https://peps.python.org/pep-0544/
Example of a different API that was recently changed from an ABC to a Protocol.
💡 Steps for implementing the feature
n/a
🔗 Useful links and references
No response
📝 Description of the feature
I recently learned about Protocols in Python, which is a more Python-esque way to create interfaces. The changes are very minor and should not impact any code using this library. I suggest we make the same change to these interfaces.
More details on Protocol at: https://peps.python.org/pep-0544/
Example of a different API that was recently changed from an ABC to a Protocol.
💡 Steps for implementing the feature
n/a
🔗 Useful links and references
No response