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

[6/n][dagster-powerbi] use asset caching logic for powerbi assets #23486

Merged
merged 4 commits into from
Aug 30, 2024

Conversation

benpankow
Copy link
Member

@benpankow benpankow commented Aug 7, 2024

Summary

In response to feedback on asset caching apis in #23341, uses cacheable assets definitions to ensure that PowerBI data is only fetched from the API once. Once we settle on more agreeable asset caching apis, we can improve the ergonomics here.

Test Plan

New unit test to load a repo and launch runs without re-fetching data from PowerBI APIs.

@benpankow benpankow changed the title [6/n] use asset caching logic for powerbi assets [6/n][dagster-powerbi] use asset caching logic for powerbi assets Aug 7, 2024
@benpankow benpankow force-pushed the benpankow/add-powerbi-5 branch from dff70fc to dbb53b4 Compare August 7, 2024 20:28
@benpankow benpankow force-pushed the benpankow/add-powerbi-caching branch from e4a5db8 to afa86ae Compare August 7, 2024 20:28
@benpankow benpankow force-pushed the benpankow/add-powerbi-5 branch from dbb53b4 to 6ec9f88 Compare August 12, 2024 17:50
@benpankow benpankow force-pushed the benpankow/add-powerbi-caching branch from afa86ae to a8b1aa8 Compare August 12, 2024 17:50
Copy link

vercel bot commented Aug 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dagster-docs-next ❌ Failed (Inspect) Aug 12, 2024 5:51pm

using the provided translator.
Future work will cache this data to avoid repeated calls to the Power BI API.
) -> Sequence[CacheableAssetsDefinition]:
"""Returns a set of CacheableAssetsDefinition which will load Power BI content from
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"""Returns a set of CacheableAssetsDefinition which will load Power BI content from
"""Returns a set of CacheableAssetsDefinitions which will load Power BI content from

@benpankow benpankow force-pushed the benpankow/add-powerbi-5 branch from 5fd1cff to 74baef1 Compare August 30, 2024 14:43
@benpankow benpankow force-pushed the benpankow/add-powerbi-caching branch from 1a68506 to 4cb9518 Compare August 30, 2024 14:43
@benpankow benpankow force-pushed the benpankow/add-powerbi-5 branch from 74baef1 to 484a875 Compare August 30, 2024 16:47
@benpankow benpankow force-pushed the benpankow/add-powerbi-caching branch from 4cb9518 to 8b54a7a Compare August 30, 2024 16:48
@benpankow benpankow force-pushed the benpankow/add-powerbi-5 branch from 484a875 to e818bf9 Compare August 30, 2024 18:01
@benpankow benpankow force-pushed the benpankow/add-powerbi-caching branch from 8b54a7a to d9d5c7b Compare August 30, 2024 18:01
@benpankow benpankow force-pushed the benpankow/add-powerbi-5 branch from e818bf9 to 3e7a8be Compare August 30, 2024 18:28
@benpankow benpankow force-pushed the benpankow/add-powerbi-caching branch from d9d5c7b to 84484b9 Compare August 30, 2024 18:28
@benpankow benpankow force-pushed the benpankow/add-powerbi-5 branch 2 times, most recently from 04a462f to 6444cf1 Compare August 30, 2024 18:56
@benpankow benpankow force-pushed the benpankow/add-powerbi-caching branch from 84484b9 to 0ef8ebf Compare August 30, 2024 18:56
@benpankow benpankow changed the base branch from benpankow/add-powerbi-5 to graphite-base/23486 August 30, 2024 18:59
@benpankow benpankow force-pushed the benpankow/add-powerbi-caching branch from 0ef8ebf to d646eab Compare August 30, 2024 19:00
@benpankow benpankow force-pushed the graphite-base/23486 branch from 6444cf1 to 15611dc Compare August 30, 2024 19:00
@benpankow benpankow changed the base branch from graphite-base/23486 to master August 30, 2024 19:00
@benpankow benpankow force-pushed the benpankow/add-powerbi-caching branch from d646eab to de2eaab Compare August 30, 2024 19:58
@benpankow benpankow merged commit b2ba08d into master Aug 30, 2024
1 check passed
@benpankow benpankow deleted the benpankow/add-powerbi-caching branch August 30, 2024 21:23
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.

2 participants