Python/FastAPI/Django – Weekly News Summary – 05/02/2024 to 11/02/2024
#Pybites Leveraging typing.Protocol: Faster Error Detection And Beyond Inheritance Introduction Two weeks ago I wrote an article about ABCs and interface enforcement. Shortly after I learned that you can do this as well with protocols. Python 3.8 introduced quite a groundbreaking feature that further advanced the language’s capabilities in type checking: the typing.Protocol which allows…