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

Use cleaner field names in reusable components #679

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

RobbeSneyders
Copy link
Member

@RobbeSneyders RobbeSneyders commented Nov 27, 2023

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 a pytest.ini so the PYTHONPATH is set correctly both inside and outside of docker, the test_requirements.txt was moved into the tests directory, and the Dockerfile was updated accordingly.

Copy link
Contributor

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

Copy link
Contributor

@PhilippeMoussalli PhilippeMoussalli left a 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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crop_images

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extract_image_resolution

@RobbeSneyders
Copy link
Member Author

Updated the component names.

@RobbeSneyders RobbeSneyders force-pushed the feature/component-field-names branch from e9f73c6 to 6f3f1ab Compare November 28, 2023 15:00
@PhilippeMoussalli PhilippeMoussalli merged commit 197ac59 into main Nov 28, 2023
6 checks passed
@PhilippeMoussalli PhilippeMoussalli deleted the feature/component-field-names branch November 28, 2023 15:26
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