Protocol Or ABC In Python – When to use which one?

When should you use protocol classes vs abstract base classes? Here’s an example where I use both, talk about the trade-offs and give you a suggestion of when to use each of them.

This is the link to the corresponding video on YouTube:


View Github