animedex.api._params
Query-string parameter helpers for raw API requests.
The raw passthrough accepts paths that already contain a query string and also accepts structured field injections from the CLI. This module keeps the merge rules in one place so single requests and paginated requests compose parameters the same way.
add_query_pair
merge_params
split_path_query
- animedex.api._params.split_path_query(path: str, params: dict | None = None) Tuple[str, Dict[str, Any]][source]
Split a path’s query string and merge it with explicit params.
Query parameters embedded in
pathare decoded into a mapping. Repeated keys become list values. Explicitparamsthen override those decoded values, matching gh-style last-write-wins field semantics.