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): make sites.get_by_id call optional #12024

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

hsheth2
Copy link
Collaborator

@hsheth2 hsheth2 commented Dec 3, 2024

This allows us to fail more gracefully when server.sites.get_by_id() throws a permissions exception or otherwise doesn't work.

Since we only require the site_id, we should have that information already available. The rest of the pieces, like content urls, can be optional.

Fixes an issue from #10498

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 Dec 3, 2024
@datahub-cyborg datahub-cyborg bot added the needs-review Label for PRs that need review from a maintainer. label Dec 3, 2024
@hsheth2 hsheth2 changed the title fix(ingest/tableau): make sites.get_by_id call optional fix(ingest/tableau): make sites.get_by_id call optional Dec 3, 2024
@datahub-cyborg datahub-cyborg bot added pending-submitter-merge and removed needs-review Label for PRs that need review from a maintainer. labels Dec 3, 2024
@anshbansal anshbansal merged commit 2b42b29 into master Dec 4, 2024
95 of 101 checks passed
@anshbansal anshbansal deleted the tableau-no-fetch-site branch December 4, 2024 09:07
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 pending-submitter-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants