GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing github.com — fix: don't emit empty <dataAccelerationConfig/> on workbook update when unset by jacalata · Pull Request #1885 · tableau/server-client-python Conversation
Contributor
SummaryFixes #1884. Changes the guard to check whether either field inside the dict actually 🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…en unset WorkbookItem.data_acceleration_config defaults to a dict of all-None values, so update_req's truthiness check on the dict was always True and emitted an empty <dataAccelerationConfig/> on every workbooks.update() call regardless of whether the caller set anything. Check for an actual value in the dict instead. Fixes #1884 Co-Authored-By: Claude Sonnet 5 <[email protected]>
|
There was an error while loading. Please reload this page.
| File | Summary |
|---|---|
test/test_workbook.py |
Verifies unset acceleration configuration is omitted. |
tableauserverclient/server/request_factory.py |
Restricts XML emission to configured acceleration fields. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The requested behavior is covered by a focused regression test, and no unresolved blocking issues were identified.
No open issues 🎉
Review effort: Lite
Sorry, something went wrong.
There was an error while loading. Please reload this page.
At least 1 approving review is required to merge this pull request.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
WorkbookItem.update() always sends an empty <dataAccelerationConfig/> even when never set
There was an error while loading. Please reload this page.