Description
When I query with "page": 1, then Exception: TypesenseQueryError: {'code': 400, 'error': 'Parameter 'page' must be an unsigned integer.'} is returned
It seems like following line is causing problem (Here is the link to the code. https://github.com/typesense/typesense-python/blob/e22e31df314371b41cc57527c4583f3451a2f63d/typesense/api_call.py#L139C1-L139C1 )
# typesense-python/typesense/api_call.py:139-140
if params[key] == True:
params[key] = 'true'
Steps to reproduce
Using typesense==0.17.0, just query anything with "page": 1
Expected Behavior
First page results should be returned.
Actual Behavior
Exception: TypesenseQueryError: {'code': 400, 'error': 'Parameter 'page' must be an unsigned integer.'}
Metadata
Typesense Version:
0.16.0, 0.17.0
OS:
macOS Ventura 13.4.1
Description
When I query with "page": 1, then
Exception: TypesenseQueryError: {'code': 400, 'error': 'Parameter 'page' must be an unsigned integer.'}is returnedIt seems like following line is causing problem (Here is the link to the code. https://github.com/typesense/typesense-python/blob/e22e31df314371b41cc57527c4583f3451a2f63d/typesense/api_call.py#L139C1-L139C1 )
Steps to reproduce
Using typesense==0.17.0, just query anything with
"page": 1Expected Behavior
First page results should be returned.
Actual Behavior
Exception: TypesenseQueryError: {'code': 400, 'error': 'Parameter 'page' must be an unsigned integer.'}Metadata
Typesense Version:
0.16.0, 0.17.0
OS:
macOS Ventura 13.4.1