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!: make data_folder a property instead of a field in network-APIs #2038

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

antazoey
Copy link
Member

What I did

data_folder being a field is not needed.
every plugin we have uses the name in the .ape data folder - so this simplifies things a lot
plugins can still override the data folder if needed.
also fields are special in pydantic so this is less complicated in that regard.

all part of the efforts of making the project refactor smaller btw.

this pr also contains all of https://github.com/ApeWorX/ape/pull/2037/files which is targeting main but itll get rebased out

How I did it

How to verify it

Checklist

  • All changes are completed
  • New test cases have been added
  • Documentation has been updated

@antazoey antazoey force-pushed the refactor/network-data-folder branch from 7215d59 to 7581391 Compare April 30, 2024 15:54
@antazoey antazoey merged commit 85acc2e into ApeWorX:feat/08 Apr 30, 2024
13 checks passed
@antazoey antazoey deleted the refactor/network-data-folder branch April 30, 2024 17:43
NotPeopling2day pushed a commit to antazoey/ape that referenced this pull request May 7, 2024
antazoey added a commit to antazoey/ape that referenced this pull request May 9, 2024
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