[WIP] Download with extract_only and parameter checking#143
Merged
t8y8 merged 4 commits intotableau:developmenttableau/server-client-python:developmentfrom Feb 13, 2017
t8y8:feature-no-extractt8y8/server-client-python:feature-no-extractCopy head branch name to clipboard
Merged
[WIP] Download with extract_only and parameter checking#143t8y8 merged 4 commits intotableau:developmenttableau/server-client-python:developmentfrom t8y8:feature-no-extractt8y8/server-client-python:feature-no-extractCopy head branch name to clipboard
t8y8 merged 4 commits intotableau:developmenttableau/server-client-python:developmentfrom
t8y8:feature-no-extractt8y8/server-client-python:feature-no-extractCopy head branch name to clipboard
Conversation
graysonarts
pushed a commit
that referenced
this pull request
Mar 23, 2017
* Add a new decorator that checks parameters against the version. Used with the @api decorator. * Add extract_only flags to workbooks and data sources, protected behind v2.5 flag
graysonarts
pushed a commit
that referenced
this pull request
Mar 24, 2017
* Response to code reviews. Put all request options into 1 file. renamed sample to download_view_image.py. Comments clean up * Add api annotation to all current endpoints (#125) Part two of #125 This backfills all existing APIs with their minimum version. Checking this in early in release cycle for baketime. * initial implement of get all and get specific for Extract Refresh Tasks * fixing test failure in the schedule_item code * pep8 fixes * Download with extract_only and parameter checking (#143) * Add a new decorator that checks parameters against the version. Used with the @api decorator. * Add extract_only flags to workbooks and data sources, protected behind v2.5 flag * Correct the path to extract refresh tasks * fixing missed pep8 failure * adding runNow to the interface * fixing pep8 issues * Add header documentation to the sample. * addressing tyler's feedback
t8y8
added a commit
to t8y8/server-client-python
that referenced
this pull request
Jun 28, 2017
* Add a new decorator that checks parameters against the version. Used with the @api decorator. * Add extract_only flags to workbooks and data sources, protected behind v2.5 flag
t8y8
pushed a commit
to t8y8/server-client-python
that referenced
this pull request
Jun 28, 2017
* Response to code reviews. Put all request options into 1 file. renamed sample to download_view_image.py. Comments clean up * Add api annotation to all current endpoints (tableau#125) Part two of tableau#125 This backfills all existing APIs with their minimum version. Checking this in early in release cycle for baketime. * initial implement of get all and get specific for Extract Refresh Tasks * fixing test failure in the schedule_item code * pep8 fixes * Download with extract_only and parameter checking (tableau#143) * Add a new decorator that checks parameters against the version. Used with the @api decorator. * Add extract_only flags to workbooks and data sources, protected behind v2.5 flag * Correct the path to extract refresh tasks * fixing missed pep8 failure * adding runNow to the interface * fixing pep8 issues * Add header documentation to the sample. * addressing tyler's feedback
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.
This is still WIP.
This is a first cut at adding 'includeExtract=False' to the workbooks and data sources endpoint. In order to do that and feel good about it I needed to also add a new decorator that checks arguments against the versions as well, since the endpoint decorator wouldn't catch that.
This implementation
parameter_added_inhas been manually tested (and gets exercised in the unittest) and will stack, so you can have an added_in(2.6), added_in(2.7) all working nicely.TODO:
parameter_added_in