-
Notifications
You must be signed in to change notification settings - Fork 25
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
Use cleaner field names in reusable components #679
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
language_filter -> filter_text_language
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Robbe!
Left some suggestion on changing the name for a few components. I think we should generally stick to the convention action_modality for consistency
components/image_cropping/README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
crop_images
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extract_image_resolution
Updated the component names. |
e9f73c6
to
6f3f1ab
Compare
This PR cleans up the field names in the reusable components. They were just concatenated when first migrating away from the subsets.
I tested all components with tests, fixed the outdated tests, and standardized the test directory structure. Each
tests
directory now has apytest.ini
so thePYTHONPATH
is set correctly both inside and outside of docker, thetest_requirements.txt
was moved into thetests
directory, and theDockerfile
was updated accordingly.