8000 workbooks.update() stopped updating workbook description · Issue #1590 · tableau/server-client-python · GitHub
[go: up one dir, main page]

Skip to content

workbooks.update() stopped updating workbook description #1590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact 8000 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

Open
nurceyagci-sf opened this issue Apr 16, 2025 · 3 comments
Open

workbooks.update() stopped updating workbook description #1590

nurceyagci-sf opened this issue Apr 16, 2025 · 3 comments
Labels
bug needs investigation Issue needs to be looked at by Tableau

Comments

@nurceyagci-sf
Copy link
nurceyagci-sf commented Apr 16, 2025

Describe the bug
workbooks.update() stopped updating the description of a published workbook. Name, tags and other settings can still be updated. workbooks.publish() still adds description while creating a workbook and when using mode=TSC.Server.PublishMode.Overwrite on an existing workbook.

Versions

  • Using Tableau Cloud with Python 3.11.9 and TSC 0.37 (also tested on TSC 0.34), REST API 3.25

To Reproduce

new_wb = TSC.WorkbookItem(name="Old Name", project_id=project_id, show_tabs=True)
new_wb.description = "old description"

wb = server.workbooks.publish(new_wb, file=path, skip_connection_check=True)

# or loading existing workbook
# wb = server.workbooks.get_by_id(id)

print(f"Name: {wb.name}, desc: {wb.description}")

# updating name and description
wb.description = "new description"
wb.name = "New name"
updated_wb = server.workbooks.update(wb)

print(f"Name: {updated_wb.name}, desc: {updated_wb.description}")

Results
Output
Name: Old name, desc: old description
Name: New name, desc: old description

Expected
Name: Old name, desc: old description
Name: New name, desc: new description

NOTE:
I habe also tried setattr(wb, 'description', 'new description'), as well as using _description instead of description. The code has worked previously but stopped working two days ago. I have tested the code in an isolated script to make sure it wasn't a bug caused by surrounding code. In isolation the code still does not work.

@jorwoods
Copy link
Contributor

Did it work with 0.34 but not with 0.37?

@nurceyagci-sf
Copy link
Author

It was working on 0.34, then stopped working a few days ago without any changes on our end. In a virtualenv I tried with the 0.37 version to make sure it doesn't work there either, before opening this issue. Thanks.

8D1B

@bcantoni
Copy link
Contributor

@nurceyagci-sf are you on Tableau Cloud or Tableau Server? If something changed behavior, it's possible it was related to a Tableau software update (either cloud or server).

@jacalata jacalata added bug needs investigation Issue needs to be looked at by Tableau labels May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs investigation Issue needs to be looked at by Tableau
Projects
None yet
Development

No branches or pull requests

4 participants
0