prepare release 0.20#1107
Merged
Merged
Conversation
* add publish-samples option to create/update project
* Clean up hidden views and make it an attribute of workbookitem * Pycodestyle error fix for one letter variable Co-authored-by: Jac <jacalata@users.noreply.github.com> Co-authored by: Stephen Mitchell https://github.com/scuml
Add type hints and tests for workbook and data source revisions
* Enable Black for CI and add as dependency * Bulk reformat with Black, line length 120 Co-authored-by: Jac Fitzgerald <jac.fitzgerald@salesforce.com>
* Type hint data alerts * Type hint DataAlertRequest * Remove type annotations from Frequency namespace * Update test_dataalert.py
* Type hint Favorites * Type hint FavoriteRequest
* Type hint Flows * Type hint request_factory for flows * Add ConnectionItem type hints on to Flow publish request * Clean up flows publish signature * Fix flow update_permissions type hint * Fix update_permissions type hint * Add workbook.hidden_views type hint * Update permissions only accepts an iterable * Fix formatting
* Type hint groups * Type hint GroupRequest Co-authored-by: Jac <jacalata@users.noreply.github.com>
* Type hint permissions * Type hint default permissions * Remove hints from enums * Remove unused import Co-authored-by: Jac <jacalata@users.noreply.github.com>
* Type hint projects * Type hint ProjectRequest * Re-add params to project create * Update test_group.py Co-authored-by: Jac <jacalata@users.noreply.github.com>
* Fix slack once and for all (#946) The red X keeps coming back so I'd like to mark this as allowably fail-able -- that way the innards of Slack/OAuth/Tableau credentials don't keep polluting test run reports :) (cherry picked from commit c8170ae) * Type hint Flow run item * Continue on error for slack step * Fix formatting Co-authored-by: Tyler Doyle <doyle.tyler@gmail.com> Co-authored-by: Jac <jacalata@users.noreply.github.com>
* Type hint site * Fix formatting Co-authored-by: Jac <jacalata@users.noreply.github.com>
Co-authored-by: Jac <jacalata@users.noreply.github.com>
* Type hint Users * Type hint UserRequest * Remove type hints from Roles and Auth namespaces * Update user_item.py Co-authored-by: Jac <jacalata@users.noreply.github.com>
* add back hidden_views to publish request as a deprecated option
* add get_by_id method and test that calls get_by_id and readsinterval from schedule returned * split tests and style checks actions
* Allow setting site user_quota to None if tiered licenses exist
* fix workbook.delete_extract
fix xml generation for items
* Add Status, ParentProjectId and StartedAt filters for jobs endpoint
* make project_id nullable to support "Personal Space"
Included redacted print methods for each credential type
* delete redundant samples (export_wb, download_view_image) * fix filter for python 3 * add workbook pdf download
* add redaction method to remove passwords when logging requests and responses, which can contain embedded credentials. * remove support for python 3.6 (add python version enforcement in setup.py)
re-push to fix github's attribution for CLA purposes
* Fix QuerySet slicing logic * Add tests for queryset slicing crossing a page
* added new permission populate methods * refactor Resource Types and add sample code accessing default permissions co-authored-by: Amar Yadav <AmarKumar.Yadav@genmills.com>
Add support for len magic method to queryset
* Log RequestOptions params
* update pypi task to check tags * add wheel to publishing step * add black step
use_server_version = False so that we don't try and contact the server before people finish setting certs
* Update sites requests for Breaking change in 3.10: flowsEnabled removed, flowsEditingEnabled and flowsSchedulingEnabled added
* Include the url of the request that got an error in the response. Makes it much easier to debug. * Add user import logic, and user import example in samples
* add client version/debug header
Resolves #1062 - cannot set empty password
* consolidate config files remainder of setup.py can pretty much go straight to pyproject.toml in the next checkin Co-authored-by: jorwoods <jorwoods@users.noreply.github.com>
bcantoni
approved these changes
Sep 12, 2022
vchavatapalli
pushed a commit
to vchavatapalli/server-client-python
that referenced
this pull request
May 5, 2026
* Datasources: Use explicit None identity check for datasource updates (tableau#1099) (Resolves tableau#1062 - cannot set empty password) * Projects: add publish-samples option to create/update project * Workbooks: fix workbook.delete_extract, add workbook pdf download, make project_id nullable to support "Personal Space", Remove vf support from populate_excel, make hidden views an attribute of Workbooks and deprecate hidden_views flag in publish request * Schedules: add get_by_id method * Users: Reassign content on user removal, add user import logic * Jobs: Add Status, ParentProjectId and StartedAt filters, Extract refreshable item IDs from job XML response * Sites: Add version awareness to site create/update methods: Update sites requests for Breaking change in 3.10: flowsEnabled removed, flowsEditingEnabled and flowsSchedulingEnabled added ,Allow setting site user_quota to None if tiered licenses exist * Do not eagerly fetch content when a stream was requested * create single Credentials class (tableau#1032), Included redacted print methods for each credential type * on init set use_server_version = False so that we don't try and contact the server before people finish setting certs * add client version/debug header * Logging: log RequestOptions params (tableau#1070), add redaction method to remove passwords when logging requests and responses, which can contain embedded credentials, log the url of the request that got an error in the response. * fix filter for python 3, remove support for python 3.6 (add python version enforcement in setup.py) * Fix slicing logic, add tests for queryset slicing crossing a page, add support for len magic method to queryset * Add type hints for workbook and data source revisions, data alerts, Favorites, Flows, groups, permissions, projects, sites, subscriptions, Users, webhooks * Samples: fix export sample, delete redundant samples (export_wb, download_view_image), add user import sample, default permissions sample * add publish to pypi actio, enable Black for CI, consolidate config files into pyproject.toml co-authored-by: Amar Yadav <AmarKumar.Yadav@genmills.com> Co-authored-by: Jac <jacalata@users.noreply.github.com> Co-authored-by: Stephen Mitchell <scum@mac.com> Co-authored-by: jorwoods <jorwoods@users.noreply.github.com> Co-authored-by: Brian Cantoni <bcantoni@salesforce.com> Co-authored-by: Tyler Doyle <doyle.tyler@gmail.com> Co-authored-by: bcmyguest1 <49045013+bcmyguest1@users.noreply.github.com>
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.
No description provided.