When using Protocol on Python, do you subclass from it?
Do you decorate the Protocol methods with abstractmethod
?
I've seen different implementations for the questions above, and they all work, and I'm not sure of the benefits of doing it one way or another.
#Python #protocol #typing