Part 4 5 chapters

The Python Substrate

The data model and dunder methods, dataclasses and value semantics, Protocol and structural typing with mypy, context managers, and proving a design works with pytest, pytest-mock, and mypy.