Skip to content

Commit 6ef56aa

Browse files
Chris ShinjacalataReba Magierscumlmbren
authored
Development to master for v0.12 (tableau#646)
* Sync development with master branch (tableau#613) * delete docs folder from master (tableau#520) * delete folder * add back readme for docs * Fix logger statement in User.add (tableau#608) The logger statement is using the parameter to output the id of the user, but that isnt set until line 67 and saved to a new variable. We want the logger statement to use that new user Co-authored-by: Jac <jacalata@users.noreply.github.com> Co-authored-by: Reba Magier <rebeccam@syapse.com> * Adds hidden_views parameter to publish() (tableau#614) * delete docs folder from master (tableau#520) * delete folder * add back readme for docs * Fix logger statement in User.add (tableau#608) The logger statement is using the parameter to output the id of the user, but that isnt set until line 67 and saved to a new variable. We want the logger statement to use that new user * Adds hidden views parameter to workbook publish * Pycodestyle Co-authored-by: Chris Shin <cshin@tableau.com> Co-authored-by: Jac <jacalata@users.noreply.github.com> Co-authored-by: Reba Magier <rebeccam@syapse.com> * Code cleanup (tableau#618) * delete docs folder from master (tableau#520) * delete folder * add back readme for docs * Fix logger statement in User.add (tableau#608) The logger statement is using the parameter to output the id of the user, but that isnt set until line 67 and saved to a new variable. We want the logger statement to use that new user * Cleans up imports and fixes some errors along the way * pycodestyle fix for single char var name Co-authored-by: Chris Shin <cshin@tableau.com> Co-authored-by: Jac <jacalata@users.noreply.github.com> Co-authored-by: Reba Magier <rebeccam@syapse.com> * update comment to say Python 3.5 is required to run samples (tableau#619) * update comment to say Python 3.5 is required to run samples * pycodestyle fix for single char var name * Simple Paging Endpoint for GraphQL/Metadata API (tableau#623) Because GraphQL can be arbitrarily complex and nested, we can't get as smart with an automatic Pager object without parsing the query, and that's a can of worms. So for now, I added a new endpoint that will take a single query with one set of pagination parameters and run through it until it ends. It's not very smart, but it works. * Support Metadata Services Backfill & Eventing APIs (tableau#626) Simple JSON endpoints that return the status of Metadata Services related events. * Adds in maxage param to csv and pdf export options (tableau#635) * Adds in maxage param to csv and pdf export options * Fixes style issue * Adding named param to test to be clear * User favorites endpoint (tableau#638) * Create FavoriteRequest factory * Create favorites_endpoint * Enable addition of favorites * Enabled deletion of favorites * Fix XML response calls * Genericize descriptor * Fix typo * Remove outdated content * Use more descriptive variable names * Adjust API version * Create Favorite "enum" * Factor response parsing logic to model The favorites item is now a dictionary. The user_item has been altered to reflect this. * Test favorites.get * Test adding a favorite workbook * Test adding favorite view * Test adding favorite data source * Test adding favorite project * Test favorite deletion * Expand favorites test_get * Unpack list of views in class method response * Add Favorites back to import * Replace deprecated assertEquals with assertEqual * Rename Favorite FavoriteItem and encapsulate Co-authored-by: Woods <jordan.woods@mkcorp.com> * Fixing style error * Fixes maxage to allow 0 as input (tableau#639) * Adds a sample for publishing datasources (tableau#644) * Adds a sample for publishing datasources * Addresses feedback to use PAT and async flag * Prep for v0.12 (tableau#645) * delete docs folder from master (tableau#520) * delete folder * add back readme for docs * Fix logger statement in User.add (tableau#608) The logger statement is using the parameter to output the id of the user, but that isnt set until line 67 and saved to a new variable. We want the logger statement to use that new user * Prepares v0.12 release * Fixes typo in changelog Co-authored-by: Jac <jacalata@users.noreply.github.com> Co-authored-by: Reba Magier <rebeccam@syapse.com> Co-authored-by: Jac <jacalata@users.noreply.github.com> Co-authored-by: Reba Magier <rebeccam@syapse.com> Co-authored-by: Stephen Mitchell <scum@mac.com> Co-authored-by: Mary Brennan <mbren@users.noreply.github.com> Co-authored-by: Tyler Doyle <kingt8y8@gmail.com> Co-authored-by: jorwoods <jorwoods@users.noreply.github.com> Co-authored-by: Woods <jordan.woods@mkcorp.com>
1 parent 188be71 commit 6ef56aa

80 files changed

Lines changed: 913 additions & 120 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## 0.12 (10 July 2020)
2+
3+
* Added hidden_views parameter to workbook publish method (#614)
4+
* Added simple paging endpoint for GraphQL/Metadata API (#623)
5+
* Added endpoints to Metadata API for retrieving backfill/eventing status (#626)
6+
* Added maxage parameter to CSV and PDF export options (#635)
7+
* Added support for querying, adding, and deleting favorites (#638)
8+
* Added a sample for publishing datasources (#644)
9+
110
## 0.11 (1 May 2020)
211

312
* Added more fields to Data Acceleration config (#588)

CONTRIBUTORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ The following people have contributed to this project to make it possible, and w
3636
* [Geraldine Zanolli](https://github.com/illonage)
3737
* [Jordan Woods](https://github.com/jorwoods)
3838
* [Reba Magier](https://github.com/rmagier1)
39+
* [Stephen Mitchell](https://github.com/scuml)
3940

4041
## Core Team
4142

samples/create_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This script demonstrates how to create groups using the Tableau
33
# Server Client.
44
#
5-
# To run the script, you must have installed Python 2.7.9 or later.
5+
# To run the script, you must have installed Python 3.5 or later.
66
####
77

88

samples/create_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# parent_id.
55
#
66
#
7-
# To run the script, you must have installed Python 2.7.X or 3.3 and later.
7+
# To run the script, you must have installed Python 3.5 or later.
88
####
99

1010
import argparse

samples/create_schedules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This script demonstrates how to create schedules using the Tableau
33
# Server Client.
44
#
5-
# To run the script, you must have installed Python 2.7.9 or later.
5+
# To run the script, you must have installed Python 3.5 or later.
66
####
77

88

samples/download_view_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# For more information, refer to the documentations on 'Query View Image'
66
# (https://onlinehelp.tableau.com/current/api/rest_api/en-us/help.htm)
77
#
8-
# To run the script, you must have installed Python 2.7.X or 3.3 and later.
8+
# To run the script, you must have installed Python 3.5 or later.
99
####
1010

1111
import argparse

samples/filter_sort_groups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This script demonstrates how to filter groups using the Tableau
33
# Server Client.
44
#
5-
# To run the script, you must have installed Python 2.7.9 or later.
5+
# To run the script, you must have installed Python 3.5 or later.
66
####
77

88

samples/filter_sort_projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# to filter and sort on the name of the projects present on site.
44
#
55
#
6-
# To run the script, you must have installed Python 2.7.X or 3.3 and later.
6+
# To run the script, you must have installed Python 3.5 or later.
77
####
88

99
import argparse

samples/kill_all_jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
####
22
# This script demonstrates how to kill all of the running jobs
33
#
4-
# To run the script, you must have installed Python 2.7.X or 3.3 and later.
4+
# To run the script, you must have installed Python 3.5 or later.
55
####
66

77
import argparse

samples/list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
####
22
# This script demonstrates how to list all of the workbooks or datasources
33
#
4-
# To run the script, you must have installed Python 2.7.X or 3.3 and later.
4+
# To run the script, you must have installed Python 3.5 or later.
55
####
66

77
import argparse

0 commit comments

Comments
 (0)