Python type annotations that keep data pipelines stable
Dynamic typing is fine in a notebook and expensive in a long-running pipeline. Notes on using type annotations, TypedDict, Literal and union types so a bad value fails at check time instead of four hours into a run.