8000 Fixes data_acceleration field always in workbook update payload by shinchris · Pull Request #741 · tableau/server-client-python · GitHub
[go: up one dir, main page]

Skip to content

Fixes data_acceleration field always in workbook update payload #741

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 20, 2020

Conversation

shinchris
Copy link
Contributor

Improves data_acceleration_config checks when generating workbook update requests. WorkbookItem itself enforces valid values, so it was redundant to have checks in the request_factory.

Addresses #740

Copy link
Contributor
@bcantoni bcantoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested on a 2019.1.19 server to first confirm the original failure and then confirmed this branch works correctly. In the fixed version the whole <dataAccelerationConfig accelerationEnabled="none" accelerateNow="none" /> element is omitted as expected from the update PUT.

@shinchris shinchris merged commit 6550ae1 into development Nov 20, 2020
@shinchris shinchris deleted the fix_740 branch November 20, 2020 17:44
@shinchris
Copy link
Contributor Author

Thanks for confirming!

shinchris pushed a commit that referenced this pull request Feb 17, 2021
[Release] Sync master with v0.15 changes
## 0.15.0 (16 Feb 2021)
* Added support for python version 3.9 (#744)
* Added support for 'Get View by ID' (#750)
* Added docs and test data to MANIFEST.in file (#780)
* Added owner_id property to ProjectItem (#784)
* Added support for skipping connection check while publishing workbook (#791)
* Added support for 'Update Subscription' (#794)
* Added support for 'Get Groups for a User' (#799)
* Improved debug logging by including put/post request contents (#743)
* Improved local and active-directory group creation (#770)
* Improved 'Update Group' to match server requests/responses (#772)
* Improved SiteItem with new properties and functions (#777)
* Improved SubscriptionItem with new properties (#794)
* Improved the 'type' property of TaskItem to convert server response to enum (#796)
* Improved repository to use Github Actions for running tests/linter (#798)
* Fixed data_acceleration field causing error in workbook update payload (#741)
shinchris pushed a commit that referenced this pull request Feb 17, 2021
[Release] Sync master with v0.15 changes
* Added support for python version 3.9 (#744)
* Added support for 'Get View by ID' (#750)
* Added docs and test data to MANIFEST.in file (#780)
* Added owner_id property to ProjectItem (#784)
* Added support for skipping connection check while publishing workbook (#791)
* Added support for 'Update Subscription' (#794)
* Added support for 'Get Groups for a User' (#799)
* Improved debug logging by including put/post request contents (#743)
* Improved local and active-directory group creation (#770)
* Improved 'Update Group' to match server requests/responses (#772)
* Improved SiteItem with new properties and functions (#777)
* Improved SubscriptionItem with new properties (#794)
* Improved the 'type' property of TaskItem to convert server response to enum (#796)
* Improved repository to use Github Actions for running tests/linter (#798)
* Fixed data_acceleration field causing error in workbook update payload (#741)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0