Skip to content
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

fix(ingest/tableau): show warning about token expiry for PATs #7187

Merged
merged 2 commits into from
Jan 31, 2023

Conversation

hsheth2
Copy link
Collaborator

@hsheth2 hsheth2 commented Jan 31, 2023

Reported in https://datahubspace.slack.com/archives/C02GBGG90CU/p1675104815475809?thread_ts=1669815878.875039&cid=C02GBGG90CU

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label Jan 31, 2023
Copy link
Collaborator

@mayurinehate mayurinehate left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -199,8 +199,15 @@ def make_tableau_client(self) -> Server:
server.auth.sign_in(authentication)
return server
except ServerResponseError as e:
if isinstance(authentication, PersonalAccessTokenAuth):
# Docs on token expiry in Tableau:
# https://help.tableau.com/current/server/en-us/security_personal_access_tokens.htm#token-expiry
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for adding link to related tableau doc.

@hsheth2 hsheth2 merged commit ed360e9 into datahub-project:master Jan 31, 2023
@hsheth2 hsheth2 deleted the tableau-token-expiry branch January 31, 2023 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ingestion PR or Issue related to the ingestion of metadata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants