Skip to content

Bug/datasources descendant search#268

Open
PrathyushaGidugu wants to merge 18 commits into
tableau:developmentfrom
nudowding:bug/datasources-descendant-search
Open

Bug/datasources descendant search#268
PrathyushaGidugu wants to merge 18 commits into
tableau:developmentfrom
nudowding:bug/datasources-descendant-search

Conversation

@PrathyushaGidugu

Copy link
Copy Markdown

Workbook._prepare_datasources used a literal child search
(xml_root.find('datasources')) while its sibling methods
_prepare_dashboards and _prepare_worksheets both use descendant search
(.//).

Changes:

  • _prepare_datasources now uses xml_root.find('.//datasources').
  • _prepare_worksheets's ds_index lookup is now tolerant of missing
    entries (uses .get(...) and continue) so a worksheet that
    references an un-indexed datasource doesn't abort the constructor.
  • Bumped wheel version 0.11.2 -> 0.11.3 in BUILD.bazel.
  • CHANGELOG.md entry.

@salesforce-cla

Copy link
Copy Markdown

Thanks for the contribution! Before we can merge this, we need @nudowding to sign the Salesforce Inc. Contributor License Agreement.

@salesforce-cla

Copy link
Copy Markdown

Thanks for the contribution! Unfortunately we can't verify the commit author(s): Prathyusha Gidugu. One possible solution is to add that email to your GitHub account. Alternatively you can change your commits to another email and force push the change. After getting your commits associated with your GitHub account, sign the Salesforce Inc. Contributor License Agreement and this Pull Request will be revalidated.

Changes:
- _prepare_datasources now uses xml_root.find('.//datasources').
- _prepare_worksheets's ds_index lookup is now tolerant of missing
  entries (uses `.get(...)` and `continue`) so a worksheet that
  references an un-indexed datasource doesn't abort the constructor.
- Bumped wheel version 0.11.2 -> 0.11.3 in BUILD.bazel.
@PrathyushaGidugu PrathyushaGidugu force-pushed the bug/datasources-descendant-search branch from 807dc79 to bcda7ee Compare June 24, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants