A Python library for the Tableau Server REST API
Datasources: Use explicit None identity check for datasource updates (https://github.com/tableau/server-client-python/pull/1099) (Resolves https://github.com/tableau/server-client-python/issues/1062 - cannot set empty password)
Projects: add publish-samples option to create/update project
Workbooks: fix workbook.delete_extract, add workbook pdf download, make project_id nullable to support "Personal Space", Remove vf support from populate_excel, make hidden views an attribute of Workbooks and deprecate hidden_views flag in publish request
Schedules: add get_by_id method
Users: Reassign content on user removal, add user import logic
Jobs: Add Status, ParentProjectId and StartedAt filters, Extract refreshable item IDs from job XML response
Sites: Add version awareness to site create/update methods: Update sites requests for Breaking change in 3.10: flowsEnabled removed, flowsEditingEnabled and flowsSchedulingEnabled added ,Allow setting site user_quota to None if tiered licenses exist
Do not eagerly fetch content when a stream was requested
create single Credentials class (https://github.com/tableau/server-client-python/pull/1032), Included redacted print methods for each credential type
on init set use_server_version = False so that we don't try and contact the server before people finish setting certs
add client version/debug header
Logging: log RequestOptions params (https://github.com/tableau/server-client-python/pull/1070), add redaction method to remove passwords when logging requests and responses, which can contain embedded credentials, log the url of the request that got an error in the response.
fix filter for python 3, remove support for python 3.6 (add python version enforcement in setup.py)
Fix slicing logic, add tests for queryset slicing crossing a page, add support for len magic method to queryset
Add type hints for workbook and data source revisions, data alerts, Favorites, Flows, groups, permissions, projects, sites, subscriptions, Users, webhooks
Samples: fix export sample, delete redundant samples (export_wb, download_view_image), add user import sample, default permissions sample
add publish to pypi actio, enable Black for CI, consolidate config files into pyproject.toml
co-authored-by: Amar Yadav [email protected] Co-authored-by: Jac [email protected] Co-authored-by: Stephen Mitchell [email protected] Co-authored-by: jorwoods [email protected] Co-authored-by: Brian Cantoni [email protected] Co-authored-by: Tyler Doyle [email protected] Co-authored-by: bcmyguest1 [email protected]
Switched to using defused_xml for xml attack protection added linting and type hints improve experience with self-signed certificates/invalid ssl updated samples new item types: metrics, revisions for datasources and workbooks features: support adding flows to schedules, exporting workbooks to powerpoint fixes: delete extracts
Full Changelog: https://github.com/tableau/server-client-python/compare/v0.16.0...v0.17.0