-
Notifications
You must be signed in to change notification settings - Fork 448
Release v0.2 #93
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
Release v0.2 #93
Conversation
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
#33 fixed publish mode enums and typos in samples
Added decorators for checking values of input to property setters (Issue-38)
* Cleaning up samples * Wrap everything in a main function and ensure spaces for indentation * Kill a few unused imports and a few minor idiomatic tweaks
Original PR by @shinchris #30 * added ability to query and delete schedules * added ability to create and update schedules * intervals for schedules are expressed as (Unit)Interval classes * hourly intervals can take .25 and .5 to represent 15 and 30 minute schedules
Content_urls must contain only a subset of ascii characters (alphanumeric, -, _) and will fail on site creation otherwise. Server sends an error but it can be confusing to the user. Fix is to validate it in the library so we never send an invalid content_url * Added a property decorator that validates the content_url against a supplied regex * Updated tests to test new cases (with unicode!) and added a new test for 'valid' cases to exercise regex
…ist of users yet (#68)
Update User supports updating a password but we were never passing it through to the serializer. We don't want to keep the password around in the model (and it's never returned from Server) so let's just add it to the update function. * add `password=None` to `users.update()` * remove `UserItem.password` and all associated tests -- it doesn't do anything
* Updating TableauAuth to speak in site_id rather than just site * EOL@EOF * updating to remove deprecated usage
Fixes #79 by adding 'Guest' to the site role enum
* Adding pagination sample * pep8 fixes * Ben's feedback incorporated * Simplifying usage by eliminating the lambda
* Implement get server info * reverting a change that should not have made it into the previous commit
* Adding CONTRIBUTORS file * revving version number
* Cleaning up the base endpoint object to reduce duplication * Deduping the ctors for Endpoints * Adding comment to clarify the condition on server_response.encoding * fixing pep8 problems * Auth Endpoint had two __init__, getting rid of both of them because they aren't needed * make_headers -> make_common_headers * token -> auth_token
Add a `Pager` object that can wrap any `Endpoint` with a `.get` method. This returns a generator that can be used anywhere a standard iterator can. It also takes request_options and can start from any page, and use any page size. It will make a single call, and yield items (in proper order) until you reach the end of that page, it will then call `Endpoint.get` again and fetch the next page. * If you start midway (page 5 of 10) the iterator will only work from page 5 forward. * Sort and Filter are supported * If the count changes on the Server-side (eg someone deleted an item while you were iterating) it will raise `StopIteration` and exit gracefully * Tested with unittests and against a live server, ran sample too Initial Implementation based on sample by @RussTheAerialist
Adding changelog for release
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.
No description provided.