Skip to content

Conversation

@guodah
Copy link
Contributor

@guodah guodah commented Dec 10, 2019

Currently, the schedule and task APIs only support one type of schedule and task which is extractRefresh. The word is hardcoded in the library. The changes in this PR is to make them more general so that the caller can decide what type of schedule and task is to be used. The changes still make extractRefresh the default type so that it will not cause problems to anyone that is already using the existing APIs.

Examples:

  1. Currently, server.tasks.get() gets all the extractRefresh tasks from a site. This will still work as is. But now users can call server.tasks.get(task_type="materializedViews" to get all the materializeViews tasks from a site.

  2. Currently, server.schedules.add_to_schedule(schedule_id, target_workbook) will add a workbook to extractRefresh schedule. Again, this will remain working. But now users can call server.schedules.add_to_schedule(schedule_id, target_workbook, schedule_type="materializeViews") to add a workbook to a materializeViews schedule.

The API version is changed to 3.8 for Tasks.get(...) in that the new GET /sites/site-id/tasks/materializedViews API will be under version 3.8.

Chris Shin and others added 5 commits October 4, 2019 14:20
Release v0.9
## 0.9 (4 Oct 2019)

* Added Metadata API endpoints (tableau#431)
* Added site settings for Data Catalog and Prep Conductor (tableau#434)
* Added new fields to ViewItem (tableau#331)
* Added support and samples for Tableau Server Personal Access Tokens (tableau#465)
* Added Permissions endpoints (tableau#429)
* Added tags to ViewItem (tableau#470)
* Added Databases and Tables endpoints (tableau#445)
* Added Flow endpoints (tableau#494)
* Added ability to filter projects by topLevelProject attribute (tableau#497)
* Improved server_info endpoint error handling (tableau#439)
* Improved Pager to take in keyword arguments (tableau#451)
* Fixed UUID serialization error while publishing workbook (tableau#449)
* Fixed materalized views in request body for update_workbook (tableau#461)
* delete folder

* add back readme for docs
Copy link
Contributor

@shinchris shinchris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what's going on, but it says there are conflicts in this branch?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants