You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 descriptionwb.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.
The text was updated successfully, but these errors were encountered:
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.
@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).
Uh oh!
There was an error while loading. Please reload this page.
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
To Reproduce
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 ofdescription
. 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.The text was updated successfully, but these errors were encountered: