Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
6094eb3
Update Pager to handle un-paged lists (#322)
t8y8 Jul 19, 2018
359e6dd
fixes datasource chunked upload (#309) (#319)
bskim45 Jul 19, 2018
d688025
fixes datasource chunked upload (#326) (#329)
bskim45 Aug 20, 2018
97aa622
fix link pointing to old doc content
mbren Oct 31, 2018
7b50e2e
Add maxage param to the download view image request
preguraman Nov 12, 2018
4afd7ec
Fix the code style error
preguraman Nov 14, 2018
cdb0f67
adding basestring conversion to str for python3 (#362)
shinchris Nov 15, 2018
78a3538
adding new exception to handle 500 errors properly (#361)
shinchris Nov 15, 2018
c50e080
Merge pull request #360 from tableau/Add_MaxAge_Param2
preguraman Nov 20, 2018
c84bf26
Added materialized views settings to site/workbook item, and a sample…
Jan 18, 2019
75824be
fixed failed test
Jan 18, 2019
a6c249b
Fixing import of TSC.Target to client access (#377)
shinchris Jan 18, 2019
3d196dd
reverted some changes that does not affect my code, will submit issue…
Jan 18, 2019
9de5063
changed default version back and use auto-detect server version
Jan 22, 2019
dd8bad1
enable/disable by project
Jan 22, 2019
749551c
removed update project by id, added update workbooks by list (txt)
Jan 22, 2019
2cb93fe
fixed failed test
Jan 22, 2019
515b3de
fixed the issue of print in python 3
Jan 22, 2019
8f57646
fixed failed test
Jan 22, 2019
e903161
now we always check if the workbook/project's path is correct when pa…
Jan 22, 2019
56424f5
refactoring
Jan 22, 2019
47c1cd6
deleted irrelevant file
baixin137 Jan 22, 2019
78858a6
added enabled materialized views on selected workbooks by a list of w…
Jan 23, 2019
3a15b0c
Merge branch 'materialize-workbooks' of https://github.com/baixin137/…
Jan 23, 2019
699a982
added materialized views for update workbook/site tests, changed get_…
Jan 24, 2019
17921d4
added comments to help users understand how to use the sample python …
Jan 24, 2019
5a35d6a
Merge pull request #378 from baixin137/materialize-workbooks
gaoang2148 Jan 24, 2019
68a5159
adding support for 'getWorkbookPdf' endpoint of REST API (#376)
shinchris Jan 30, 2019
ade073c
refresh sample uses workbook instead of workbook id (#342)
daniel1608 Jan 30, 2019
0a099f4
adding SupportUser role (#392)
shinchris Jan 30, 2019
440b6cf
added 'run-materialization-now' flag for workbooks:
Feb 5, 2019
6a7a065
do not allow update on workbooks/projects when site is disabled for m…
Feb 5, 2019
eaf86e4
check if project name is valid
Feb 5, 2019
dcf8c87
fixed tests
Feb 5, 2019
57cd890
fixed tests
Feb 5, 2019
b9f04bb
removed temporary file and changed initial materialized views setting…
Feb 6, 2019
5e186b9
fixed tests
Feb 6, 2019
418af7d
fixed some indentation issues
Feb 6, 2019
ad83f80
when update one project, update all the sub-project of this project too
Feb 7, 2019
fc75870
Merge pull request #394 from baixin137/materialize-workbooks
gaoang2148 Feb 7, 2019
4cae50e
fixed a bug that materializedNow flag is not passed to server correctly
Feb 8, 2019
19d0198
fixed identation issue
Feb 8, 2019
ac25514
Merge pull request #396 from baixin137/materialize-workbooks
gaoang2148 Feb 8, 2019
3efafb2
Fixed the bug that materialize_workbooks.py cannot handle empty lines…
baixin137 Feb 19, 2019
cacc4fb
Added support for flows (#403)
shinchris Feb 20, 2019
fe2ff8f
Adding tests for 500 error handling (#364)
shinchris Apr 2, 2019
6907a15
Add parsing for embed_password field and allow updating value to fals…
shinchris Apr 2, 2019
8fd8d78
Changelog and contributors for 0.8 (#421)
Apr 8, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 0.8 (8 Apr 2019)

* Added Max Age to download view image request (#360)
* Added Materialized Views (#378, #394, #396)
* Added PDF export of Workbook (#376)
* Added Support User Role (#392)
* Added Flows (#403)
* Updated Pager to handle un-paged results (#322)
* Fixed checked upload (#309, #319, #326, #329)
* Fixed embed_password field on publish (#416)


## 0.7 (2 Jul 2018)

* Added cancel job (#299)
Expand Down
5 changes: 5 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ The following people have contributed to this project to make it possible, and w
* [Jim Morris](https://github.com/jimbodriven)
* [BingoDinkus](https://github.com/BingoDinkus)
* [Sergey Sotnichenko](https://github.com/sotnich)
* [Bruce Zhang](https://github.com/baixin137)
* [Bumsoo Kim](https://github.com/bskim45)
* [daniel1608](https://github.com/daniel1608)

## Core Team

Expand All @@ -27,3 +30,5 @@ The following people have contributed to this project to make it possible, and w
* [Jared Dominguez](https://github.com/jdomingu)
* [Jackson Huang](https://github.com/jz-huang)
* [Brendan Lee](https://github.com/lbrendanl)
* [Ang Gao](https://github.com/gaoang2148)
* [Priya R](https://github.com/preguraman)
2 changes: 1 addition & 1 deletion contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ anyone can add to an issue:
## Fixes, Implementations, and Documentation

For all other things, please submit a PR that includes the fix, documentation, or new code that you are trying to contribute. More information on
creating a PR can be found in the [Development Guide](docs/docs/dev-guide.md)
creating a PR can be found in the [Development Guide](https://tableau.github.io/server-client-python/docs/dev-guide)

If the feature is complex or has multiple solutions that could be equally appropriate approaches, it would be helpful to file an issue to discuss the
design trade-offs of each solution before implementing, to allow us to collectively arrive at the best solution, which most likely exists in the middle
Expand Down
9 changes: 7 additions & 2 deletions samples/download_view_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def main():
parser.add_argument('--view-name', '-v', required=True,
help='name of view to download an image of')
parser.add_argument('--filepath', '-f', required=True, help='filepath to save the image returned')
parser.add_argument('--maxage', '-m', required=False, help='max age of the image in the cache in minutes.')
parser.add_argument('--logging-level', '-l', choices=['debug', 'info', 'error'], default='error',
help='desired logging level (set to error by default)')

Expand Down Expand Up @@ -55,8 +56,12 @@ def main():
raise LookupError("View with the specified name was not found.")
view_item = all_views[0]

# Step 3: Query the image endpoint and save the image to the specified location
image_req_option = TSC.ImageRequestOptions(imageresolution=TSC.ImageRequestOptions.Resolution.High)
max_age = args.maxage
if not max_age:
max_age = 1

image_req_option = TSC.ImageRequestOptions(imageresolution=TSC.ImageRequestOptions.Resolution.High,
maxage=max_age)
server.views.populate_image(view_item, image_req_option)

with open(args.filepath, "wb") as image_file:
Expand Down
Loading