Skip to content

fix(client): preserve falsy query param values in _get_params#58

Merged
fguillot merged 1 commit into
mainfrom
fix/get-params-falsy-values
Mar 24, 2026
Merged

fix(client): preserve falsy query param values in _get_params#58
fguillot merged 1 commit into
mainfrom
fix/get-params-falsy-values

Conversation

@fguillot
Copy link
Copy Markdown
Member

Use if v is not None instead of if v so that valid falsy values like 0, False, and "" are not silently dropped from query parameters.

Use `if v is not None` instead of `if v` so that valid falsy values
like 0, False, and "" are not silently dropped from query parameters.
@fguillot fguillot merged commit 3c7c0a0 into main Mar 24, 2026
7 checks passed
@fguillot fguillot deleted the fix/get-params-falsy-values branch March 24, 2026 03:50
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