Hacker News new | ask | show | jobs
by phailhaus 250 days ago
kwargs are not dataclasses, they are dicts. TypedDict was shoehorned in later to allow typing dicts, but they are so poorly designed that you can't mark individual fields as optional.