Server Client Python Versions Save

A Python library for the Tableau Server REST API

v0.21

1 year ago
  • 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]

v0.19.0

1 year ago
  • Add new samples and delete redundant ones
  • Clean up hidden_views by making it an attribute of WorkbookItem
  • Add type hints for workbook and data source revisions, data alerts, Favorites, Flows, groups, permissions, projects, flow runs, site, subscriptions, Users, webhooks
  • add get_by_id method and test for schedules
  • Allow null value for user quota tiers
  • fix workbook.delete_extract
  • add publish to pypi action fix xml generation for items
  • Add Status, ParentProjectId and StartedAt filters for jobs endpoint
  • make project_id nullable to support "Personal Space" for workbooks
  • create single Credentials class
  • Reassign content on user removal
  • add redaction method to remove passwords when logging requests and responses, which can contain embedded credentials.
  • remove support for python 3.6 (add python version enforcement in setup.py)
  • Extract refreshable item IDs from job XML response
  • Do not eagerly fetch content when a stream was requested
  • Fix QuerySet slicing logic
  • add CRUD methods for default permissions
  • refactor Resource Types and add sample code

v0.18.0

2 years ago

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

v0.17.0

2 years ago

TSC v0.17.0 (20 October 2021)

  • Added support for accepting parameters for post request of the metadata api (#850)
  • Fixed jobs.get_by_id(job_id) example & reference docs (#867, #868)
  • Fixed handling for workbooks in personal spaces which do not have projectID or Name (#875)
  • Updated links to Data Source Methods page in REST API docs (#879)
  • Unified arguments of sample scripts (#889)
  • Updated docs for - links to Datasource API (#879) , sample scripts (#892) & metadata query (#896)
  • Added support for scheduling DataUpdate Jobs (#891)
  • Exposed the fileuploads API endpoint (#894)
  • Added a new sample & documentation for metadata API (#895, #896)
  • Added support to the package for getting flow run status, as well as the ability to cancel flow runs. (#884)
  • Added jobs.wait_for_job method (#903)
  • Added description support for datasources item (#912)
  • Dropped support for Python 3.5 (#911)

Full Changelog: https://github.com/tableau/server-client-python/compare/v0.16.0...v0.17.0

v0.16.0

2 years ago

0.16.0 (15 July 2021)

  • Documentation updates (#800, #818, #839, #842)
  • Fixed data alert repr in subscription item (#821)
  • Added support for Data Quality Warning (#836)
  • Added support for renaming datasources (#843)
  • Improved Datasource tests (#843)
  • Updated catalog obfuscation field (#844)
  • Fixed revision limit field in site_item.py file (#847)
  • Added the Missing content permission field- LockedToProjectWithoutNested (#856)

v0.15.0

3 years ago

0.15.0 (16 Feb 2021)

  • Added support for python version 3.9 (#744)
  • Added support for 'Get View by ID' (#750)
  • Added docs and test data to MANIFEST.in file (#780)
  • Added owner_id property to ProjectItem (#784)
  • Added support for skipping connection check while publishing workbook (#791)
  • Added support for 'Update Subscription' (#794)
  • Added support for 'Get Groups for a User' (#799)
  • Improved debug logging by including put/post request contents (#743)
  • Improved local and active-directory group creation (#770)
  • Improved 'Update Group' to match server requests/responses (#772)
  • Improved SiteItem with new properties and functions (#777)
  • Improved SubscriptionItem with new properties (#794)
  • Improved the 'type' property of TaskItem to convert server response to enum (#796)
  • Improved repository to use Github Actions for running tests/linter (#798)
  • Fixed data_acceleration field causing error in workbook update payload (#741)

v0.14.1

3 years ago

0.14.1 (9 Dec 2020)

  • Fixed filter query issue for server version below 2020.1 (#745)
  • Fixed large workbook/datasource publish issue (#757)

v0.14.0

3 years ago

0.14.0 (9 Nov 2020)

  • Added django-style filtering and sorting (#615)
  • Added encoding tag-name before deleting (#687)
  • Added 'Execute' Capability to permissions (#700)
  • Added support for publishing workbook using file objects (#704)
  • Added new fields to datasource_item (#705)
  • Added all fields for users.get to get email and fullname (#713)
  • Added support publishing datasource using file objects (#714)
  • Improved request options by removing manual query param generation (#686)
  • Improved publish_workbook sample to take in site (#694)
  • Improved schedules.update() by removing constraint that required an interval (#711)
  • Fixed site update/create not checking booleans properly (#723)

v0.13

3 years ago

0.13 (1 Sept 2020)

  • Added notes field to JobItem (#571)
  • Added webpage_url field to WorkbookItem (#661)
  • Added support for switching between sites (#655)
  • Added support for querying favorites for a user (#656)
  • Added support for Python 3.8 (#659)
  • Added support for Data Alerts (#667)
  • Added support for basic Extract operations - Create, Delete, en/re/decrypt for site (#672)
  • Added support for creating and querying Active Directory groups (#674)
  • Added support for asynchronously updating a group (#674)
  • Improved handling of invalid dates (#529)
  • Improved consistency of update_permission endpoints (#668)
  • Documentation updates (#658, #669, #670, #673, #683)

v0.12

3 years ago

0.12 (10 July 2020)

  • Added hidden_views parameter to workbook publish method (#614)
  • Added simple paging endpoint for GraphQL/Metadata API (#623)
  • Added endpoints to Metadata API for retrieving backfill/eventing status (#626)
  • Added maxage parameter to CSV and PDF export options (#635)
  • Added support for querying, adding, and deleting favorites (#638)
  • Added a sample for publishing datasources (#644)