Discussing Type Hints, Protocols, and Ducks in Python
fleeting- External reference: https://realpython.com/podcasts/rpp/88/
- see,
It’s said that python protocols are much like golang interfaces, they define a contract that should be fulfilled but there is no mean to declare implementing this contract. Only implementing it is enough to implement this interface.