Skip to content

Workbook Download no_extract No Longer Supported #1541

Description

@dem-hashmakj

Describe the bug
The no_extract parameter is no longer supported in the newest versions (.33 and .34).

Versions
Details of your environment, including:

  • Tableau Server version: Product Version: 2024.2.2 and API Version: 3.23
  • Python version: 3.12
  • TSC library version:
    • tableauserverclient-0.34
    • tableauserverclient-0.33

To Reproduce
Pretty much run the workbook download with the no_extract flag.
downloadedFile = server.workbooks.download(workbook_id, filepath=filepath, no_extract=True)

Results
Raises an exception:

TypeError("Workbooks.download() got an unexpected keyword argument 'no_extract'")

Present in: https://github.com/tableau/server-client-python/blob/f42948a1bee9e7f122764ecc2c9cf1c9d6877ea1/tableauserverclient/server/endpoint/workbooks_endpoint.py

No longer present in: https://github.com/tableau/server-client-python/blob/6c4374b2061e2f9544920b53cc79d5cd04ae5780/tableauserverclient/server/endpoint/workbooks_endpoint.py

Docs do not mention the removal (nor the addition of include_extract).
https://github.com/tableau/server-client-python/blob/gh-pages/docs/api-ref.md#workbooksdownload

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions