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

refactor: remove data fetcher, use static types where possible #165

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

henryiii
Copy link
Collaborator

This replaces the DataFetcher with simple functions and direct dict access to preserve static types. This allows #128 to self validate most of the operations internally. This was how I found the entrypoints -> entry-points bug in #128 that I fixed before merging.

Will refactor into a file since this would be nicer for organisation, since all these functions are grouped into "accessing the pyproject dict" (and aren't public, which is reflected in __all__, but better to fully hide, IMO).

@henryiii henryiii mentioned this pull request Sep 21, 2024
@henryiii henryiii closed this Sep 21, 2024
@henryiii henryiii reopened this Sep 21, 2024
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii merged commit 2fd0fd0 into pypa:main Sep 23, 2024
24 checks passed
@henryiii henryiii deleted the henryiii/refactor/static branch September 23, 2024 18:54
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.

1 participant