8000 [WIP] Download with extract_only and parameter checking by t8y8 · Pull Request #143 · tableau/server-client-python · GitHub
[go: up one dir, main page]

Skip to content

[WIP] Download with extract_only and parameter checking #143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 13, 2017

Conversation

t8y8
Copy link
Collaborator
@t8y8 t8y8 commented Feb 13, 2017

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_in has 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:

  • Add to data sources
  • Decide on warning strings
  • Settle on name. I don't really like parameter_added_in
  • Make it work on python 2.7

@t8y8 t8y8 changed the base branch from master to development February 13, 2017 21:33
Copy link
Contributor
@graysonarts graysonarts left a comment

Choose a reason for hiding this comment

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

🚀 🕺 🚀

@t8y8 t8y8 merged commit c967cef into tableau:development Feb 13, 2017
8000 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
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.

2 participants
0