Skip to content

Removes manual query param generation#686

Merged
shinchris merged 5 commits into
developmentfrom
encode_fix
Oct 30, 2020
Merged

Removes manual query param generation#686
shinchris merged 5 commits into
developmentfrom
encode_fix

Conversation

@shinchris
Copy link
Copy Markdown
Contributor

Removing manual query param generation in req_options, and delegating that step to the requests library.
By doing this, the requests library will encode the url for us, fixing #418, #516, #578.

Some endpoints have their own query params added, like workbook publish overwrite flag. The requests library will append new query params to the existing one in this case.

Comment thread tableauserverclient/server/request_options.py
@shinchris shinchris merged commit 69ca6c7 into development Oct 30, 2020
@shinchris shinchris deleted the encode_fix branch October 30, 2020 22:26
This was referenced Nov 6, 2020
vchavatapalli pushed a commit to vchavatapalli/server-client-python that referenced this pull request May 5, 2026
* Removes manual query param generation

* Fixes v3.5 test issue by using regex matching

* Moving all query param verifications to use regex search

* Adds back removed method with deprecation warning
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