logoalt Hacker News

ibraheemdev • today at 6:34 PM • 0 replies • view on HN

We do generally support this pattern for dictionary literals, but we can't track the precise types of arbitrary keys if the dictionary is created dynamically, you'd have to use a TypedDict in that case.