Glossary: Software Design Patterns
Protocol
Also written: typing.Protocol
A class from the `typing` module that lists the methods an interface needs, with `...` as each body. Classes match it just by having those methods.
Glossary: Software Design Patterns
Also written: typing.Protocol
A class from the `typing` module that lists the methods an interface needs, with `...` as each body. Classes match it just by having those methods.