3 ms·Idiomatic algebraic data types in Python with dataclasses and Union: ezyang’s1 points by todsacerdoti 5y ago