Tech Insights· typing.readthedocs.io
Use assert_never from Python to confirm with a static type checker that a line of code is unreachable:
Shared by
- Mypy
- Python
- Typing



