8000 create single Credentials class with redacted debug views by jacalata · Pull Request #1032 · tableau/server-client-python · GitHub
[go: up one dir, main page]

Skip to content

create single Credentials class with redacted debug views #1032

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 1 commit into from
May 15, 2022

Conversation

jacalata
Copy link
Contributor
@jacalata jacalata commented May 4, 2022

Creates a framework for future credential types to be added to
Addresses #1024 for the current types

Included redacted print methods for each credential type
@jacalata jacalata requested a review from andybigbear May 4, 2022 07:34
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.

🚀 with minor notes

@andybigbear
Copy link
Collaborator

close this PR and will use Jac's PR for adding the JWT: #1032

@andybigbear
Copy link
Collaborator

Hi Jac, Could you please directly add the JsonWebTokenAuth(Credentials) in this PR?

@jacalata
Copy link
Contributor Author
jacalata commented May 8, 2022

Hi Jac, Could you please directly add the JsonWebTokenAuth(Credentials) in this PR?

That will be a separate PR for 22.2

Copy link
Collaborator
@andybigbear andybigbear left a comment

Choose a reason for hiding this comment

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

LGTM

@jacalata jacalata merged commit 40d767c into development May 15, 2022
jacalata added a commit that referenced this pull request Jun 1, 2022
Included redacted print methods for each credential type
@jacalata jacalata deleted the jac/credentials-updates branch June 4, 2022 03:55
jacalata added a commit that referenced this pull request Sep 12, 2022
* Datasources: Use explicit None identity check for datasource updates (#1099) (Resolves #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 fo
7996
r 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 (#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 (#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>
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.

3 participants
0