Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Introduce Location enum for improved location handling
- Added a new `Location` enum in `constants.py` to standardize location inputs across the application. - Updated `text_search` function in `cli.py` to use `Location` type for `peo_in` and `inc_in` parameters. - Modified `url_generator.py` to accept `Location` type for `peo_in` and `inc_in` in the `SearchQueryKwargs` class. - Refactored tests in `test_url_generator.py` to validate the new `Location` enum usage. - Enhanced test cases to ensure correct mapping of locations in\ various contexts.
- Loading branch information