10000 Release 0.6 by graysonarts · Pull Request #255 · tableau/server-client-python · GitHub
[go: up one dir, main page]

Skip to content

Release 0.6 #255

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 15 commits into from
Jan 17, 2018
Merged

Release 0.6 #255

merged 15 commits into from
Jan 17, 2018

Conversation

graysonarts
Copy link
Contributor

No description provided.

t8y8 and others added 14 commits September 26, 2017 14:16
Convert remaining models to user `Pager` or `Fetchers` for sub-items (eg views on workbook, workbooks on user, connections on data source). This works by wrapping an internal call to Server in a closure, then binding that to the item's property. Pretty simple. We first did this pattern for users in groups. Some lists aren't paged (eg connections) so I just made a simple fetch function and bind that. No need for a pager there.

This means that each call to `ModelItem.subItem` will fetch a new List/Pager from Server. This is a better pattern for staying up to date, and removes the need to synchronize things locally. If the caller needs a static list they can just assign it to a variable.

I left tags as they are -- that's a much bigger change that we need to think through.
Added support for PDF export and CSV export for a view. These follow the pattern introduced by high resolution image and follow the fetcher method we use elsewhere. Updated tests, fixed misc test issues, and fixed some oddities in the old `ImageRequestOptions`
Add support for Subscriptions
* added ability to get usage statistics for views
Get ready for supporting .hyper files when Hyper releases
* Update Change Log

* Add refresh and jobs endpoints

* Fixing pycodestyle failures

* Run pycodestyle on samples also

* Add sample for refresh and a useful tool to get the id for datasources and workbooks

* Actually checking in list.py this time

* more pep8 fixes

* Addressing Tyler's feedback
* Update Change Log

* redoing @BingoDinkus' correction of the typo, but against development
* initial commit

* Making the code more generic so it works with workbooks or datasources

* Adding ability to use datasources

* fix pep8 failures

* Addressing Tyler's feedback about metaprogramming

* Address error handling

* Fixing a py3 difference
* checkpoint in getting update connection to work.  Still need to add error handling

* Added tests and correcting the return type

* Address Tyler's feedback

* missed one of the changes from Tyler's feedback
* Preparing ChangeLog for release 0.6

* Adding commit number to the changelog for updating datasource connections

* typo
@graysonarts
Copy link
Contributor Author

The merge conflict is just on the changelog.

@graysonarts graysonarts requested a review from t8y8 January 17, 2018 19:56
@graysonarts graysonarts self-assigned this Jan 17, 2018
@graysonarts graysonarts requested a review from LGraber January 17, 2018 19:56
Copy link
Collaborator
@t8y8 t8y8 left a comment

Choose a reason for hiding this comment

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

🚀 🌔

@graysonarts graysonarts merged commit 564dda1 into master Jan 17, 2018
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.

5 participants
0