Skip to content

Simplify ProductTaxonomy::Loader API to use data_path#853

Open
hadijafar wants to merge 3 commits intomainfrom
updating-data_path-in-loader-class
Open

Simplify ProductTaxonomy::Loader API to use data_path#853
hadijafar wants to merge 3 commits intomainfrom
updating-data_path-in-loader-class

Conversation

@hadijafar
Copy link
Contributor

@hadijafar hadijafar commented Jan 29, 2026

Simplify ProductTaxonomy::Loader interface

This PR simplifies the ProductTaxonomy::Loader.load method by accepting a single data_path parameter instead of requiring individual file paths. The loader now constructs all necessary file paths internally based on the provided data directory.

The change reduces code duplication across the codebase by centralizing the file path construction logic in the loader class itself. This makes the API more straightforward to use and ensures consistent file path handling.

Version bumped to 1.1.0 to reflect this interface change.

look at this pr for more context

@hadijafar hadijafar self-assigned this Jan 29, 2026
@hadijafar hadijafar changed the title Add integration test for orphan values detection Add printer and medical alarm features and simplify taxonomy loader Jan 29, 2026
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@hadijafar hadijafar force-pushed the updating-data_path-in-loader-class branch from 995c19f to 3480360 Compare January 29, 2026 19:00
@hadijafar hadijafar changed the title Add printer and medical alarm features and simplify taxonomy loader Simplify ProductTaxonomy::Loader API to use data_path Jan 29, 2026
@hadijafar hadijafar force-pushed the updating-data_path-in-loader-class branch from 3480360 to 53d5a11 Compare February 2, 2026 19:04
@hadijafar hadijafar marked this pull request as ready for review February 2, 2026 19:05
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