Skip to content

Conversation

@xinkai-a11y
Copy link

@xinkai-a11y xinkai-a11y commented Dec 10, 2025

Summary
Add a small typed SearchParams helper for building query dicts. This helps users compose richer searches while discussion on the full Search a licious client continues.

What is included
SearchParams with light validation and to_query
Unit tests for valid and invalid inputs plus a simple pagination case
No network calls in unit tests

Why this fits
Keeps the surface area small and backward compatible. Gives a safe building block for later work on the new search endpoint.

Testing
Ran pytest locally for the new tests. The ML tests are excluded to keep the run fast and deterministic. CI should run the standard matrix.

AI note
I drafted parts of this with AI help and reviewed and tested all code myself per the project policy.

Refs #314

@sonarqubecloud
Copy link

@xinkai-a11y
Copy link
Author

Linking the discussion for visibility. Refs #314. Happy to adjust naming or placement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant