Merge master into development in prep for release#223
Merged
graysonarts merged 22 commits intomastertableau/server-client-python:masterfrom Sep 19, 2017
Merged
Merge master into development in prep for release#223graysonarts merged 22 commits intomastertableau/server-client-python:masterfrom
graysonarts merged 22 commits intomastertableau/server-client-python:masterfrom
Conversation
Merge Bugfix back into development
* adding to ref pages; saving progress so far * Check in to save progress-o * Another chekin' for the cause * Check in more stuff; added api buckets in docs menu * Updated with users, groups; snapshot * Check in more changes to ref pages, minor fix for docs menu * more updates; formatting fixes, etc. * um updates, workbooks in prog, etc. * getting there, mostly done. * sorted, added filters, requests, etc. * ready for review.... * update to the left nav for new classes * Added sites.get_by_name; added quotes to sever.version number example * updates from tech review; added no_extract to downloads (workbook, data sources) * Added workbooks.update_connections (the cause of merge conflict); fixed some connectionitem info * tech review fixes, removed groups.get_by_id from examples, fixed datasource update example * Ran spellcheck, fixed misc errors
Revision History settings were present in the SiteItem model but not actually serialized and didn't have setters/getters. I've updated that and enhanced the is_int decorator to allow exemptions in the case of sentinels that fall outside the normal range.
* initial infrastructure for smoke tests * trying to fix travis errors by not pinning the version * fix pinning to major version, not minor
* Enble always sorting when using pager because queries are not currently deterministic * I forgot to format the files * Fixing tyler's nit
Quickly added quatations for version code snippet typo
* Sample group filtering script * Added comments and specific error catching * Renamed the file to follow the naming convention * commented on return type, example group creation, cleaned up code * Better way to call and catch return from rest api * Proper printing instructions
* Added filtering on project names in new sample script * Minor comment change * Clearer unpacking rest api response objects * Proper printing instructions * Style changes, removed_, using call to switch server version
* Support for Certified Data Sources in the REST API
Renames `no_extract` to `include_extract` for a clearer intent on what the parameter does. `no_extract` is kept but the default changes to `None` and we detect if it's used and throw a DeprecationWarning.
This update has three main components: - Update the `Pager` to be able to iterate over any callable that returns (List[Model], PaginationItem). - Update the Groups Endpoint to call the new `Pager` and add a method that just gets users in a group - Update `populate_users` to create a closure wrapping Pager and request options and an endpoint and then bind that to the `GroupItem.users` attribute so that each call generates a new `Pager` Now, calling group.users will return a Pager that's always fresh. You can iterate it like a list, or convert it to a list if needed with `list(group.users)`
* add workbook id to tasks and add tests * add target class to abstract references to other objects * add test for schedule id, refactor target
Update Project endpoints and models to support nest projects (under development on Server). This mainly means add `parent_id` to the model, serializers, and parsers. Minor refactoring on how models are parsed in the update call.
* Moving user endpoint to use dynamic namespace * move groups to using dynamic namespace * move PagintationItem to use dynamic namespace * move exceptions to use dynamic namespace * move workbooks to use dynamic namespace * move views to use dynamic namespace * move views to use dynamic namespace * move tasks to use dynamic namespace * move tags to use dynamic namespace * move datasource to use dynamic namespace * move connections item to use dynamic namespace * move site to use dynamic namespace * fix up tests and remove NAMESPACE * move namespace to be a property * Move detection into a Namespace class * Move to using the Namespace class * remove deprecated namespace code * better detection method from Tyler's suggestion * fixing pycodestyle failures * removing unneeded import * throwing an exception if there is a unknown namespace
…ing the server version (#220)
* This workaround is no longer needed The server will sort based on the id by default so that this workaround is no longer needed. We should add documentation that recommends people pass in a supported sort clause manually if they are using other servers * Fix failing test cases
* Prep CL and CONTRIB for next release * Adding Jim
t8y8
approved these changes
Sep 19, 2017
Collaborator
t8y8
left a comment
There was a problem hiding this comment.
🚀
A big release! Great to see a lot of this land.
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.
Why does this keep happening?