You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 94ab761
Browse filesBrowse the repository at this point in the historyBrowse files
fix: correct Filter serialization for datetimes and booleans (#1805)
* fix: prevent double-encoding of colons in date filter values
Fixes#1025
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: serialize boolean filter values as lowercase true/false
Tableau REST API requires boolean filter values to be lowercase
('true'/'false'), but Python's str(bool) produces 'True'/'False'.
Add explicit bool handling in Filter.__str__ alongside the existing
datetime fix, and expand test coverage to include bool, int, datetime
(format, timezone conversion, no-encoding), list edge cases, and the
invalid-operator-with-list guard.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: reject naive datetimes and document Filter.__str__ format (#1025)
Naive datetime objects passed to Filter now raise ValueError with a
clear message instead of silently converting using the local system
timezone, which would produce wrong UTC values on any non-UTC machine.
Also adds a docstring to Filter.__str__ documenting the serialization
rules for all supported value types.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments