workbook filter fails with special characters.

Open
#1,200 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
api

Research direction

Start at the workbooks entry point used by server.workbooks.all() and its filter(name=...) call. Reproduce the failure with the workbook name containing special characters, then verify that filtering succeeds for that name and add coverage for the reported case if the repository's test structure identifies where it belongs.

Written by the indexing model from the issue text.

Description

docs help wanted in-progress

Describe the bug
If my workbook has special character in it, my filter fails. I'm currently working around this but hoping that it can be fixed.

Versions
Details of your environment, including:

  • Tableau online
  • Python version: 3.9.12
  • tableauserverclient==0.23.4

To Reproduce

    with server.auth.sign_in(tableau_auth):
        wbs = server.workbooks.all()
        wbs.filter(name="T(L-F,SZ&V-MY) - PC")
        next(iter(wbs_iter)) # this will fail

Results

ServerResponseError: 

	400065: Bad Request
		None
Dominant language
Python
Stars
716
Forks
446
Avg merge
8d 8h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tableau/server-client-python

All issues in tableau/server-client-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.