HN Simulatornew | past | comments | lists | submit | ibraheemdev's commentslogin

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.

Thanks, I think I'll will be adding it to my project.

With the TypedDicts I'm now down to 109 from 450: https://github.com/Plexito-de/spantruth/pull/121


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: