Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(types): Add TypedDict #128

Merged
merged 2 commits into from
Sep 21, 2024
Merged

Conversation

henryiii
Copy link
Collaborator

This is an initial attempt to add a TypedDict for the pyproject.toml input. Unfortunately, DataFetcher kills all internal static type info so this isn't checked. Working on this primarily for pypa/packaging#647.

@henryiii
Copy link
Collaborator Author

PS: I have some ideas to refactor DataFetcher to avoid killing static types (which didn't matter before, as there weren't any). I'll try those out in a few days (traveling for a meeting).

@henryiii henryiii force-pushed the henryiii/feat/typeddict branch 2 times, most recently from a35d9dd to 6de822d Compare September 12, 2024 04:38
@henryiii henryiii force-pushed the henryiii/feat/typeddict branch 3 times, most recently from 59825e2 to 7c33895 Compare September 13, 2024 04:38
@henryiii henryiii marked this pull request as ready for review September 18, 2024 19:26
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

fix: more precise, better runtime support

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii merged commit 59788fd into pypa:main Sep 21, 2024
24 checks passed
@henryiii henryiii deleted the henryiii/feat/typeddict branch September 21, 2024 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants