[Python-ideas] Python tagged unions based on dataclasses