add export_wb sample for 'fullpdf'#264
Merged
graysonarts merged 4 commits intotableau:developmentfrom Feb 21, 2018
graysonarts:sample-export-workbook
Merged
add export_wb sample for 'fullpdf'#264graysonarts merged 4 commits intotableau:developmentfrom graysonarts:sample-export-workbook
graysonarts merged 4 commits intotableau:developmentfrom
graysonarts:sample-export-workbook
Conversation
LGraber
reviewed
Feb 15, 2018
samples/export_wb.py
Outdated
| parser.add_argument('--server', '-s', required=True, help='server address') | ||
| parser.add_argument('--username', '-u', required=True, help='username to sign into server') | ||
| parser.add_argument('--site', '-S', default=None) | ||
| parser.add_argument('-p', default=None) |
LGraber
reviewed
Feb 15, 2018
samples/export_wb.py
Outdated
| parser.add_argument('--logging-level', '-l', choices=['debug', 'info', 'error'], default='error', | ||
| help='desired logging level (set to error by default)') | ||
| parser.add_argument('--file', '-f', help='filename to store the exported data') | ||
| parser.add_argument('resource_id', help='LUID for the view') |
LGraber
reviewed
Feb 15, 2018
samples/export_wb.py
Outdated
|
|
||
| parser.add_argument('--logging-level', '-l', choices=['debug', 'info', 'error'], default='error', | ||
| help='desired logging level (set to error by default)') | ||
| parser.add_argument('--file', '-f', help='filename to store the exported data') |
Contributor
There was a problem hiding this comment.
Add to the help that this is the default or just make it explicitly the default
LGraber
reviewed
Feb 15, 2018
samples/export_wb.py
Outdated
| server = TSC.Server(args.server, use_server_version=True) | ||
| try: | ||
| with server.auth.sign_in(tableau_auth): | ||
| views = list(TSC.Pager(server.views)) |
Contributor
There was a problem hiding this comment.
This seems dumb (Russell told me to put that :) )
Contributor
Author
There was a problem hiding this comment.
I still need to address the dumb.
…hrowing it away and getting it again...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Emulating the basic functionality of fullpdf from tabcmd.