-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[dagster-looker] Use Looker API translator instance in spec loader and state-backed defs #26743
[dagster-looker] Use Looker API translator instance in spec loader and state-backed defs #26743
Conversation
Deploy preview for dagster-docs ready! Preview available at https://dagster-docs-e2vj8ud0g-elementl.vercel.app Direct link to changed pages: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because this is a breaking change, we'd need to wait for dagster 1.10 in order to merge this.
I think the better option here is to make the type Union[DagsterLookerApiTranslator, Type[DagsterLookerApiTranslator]]
, and emit a deprecation warning if a Type is passed in
Edit: looks like a lot of the related PRs also have breaking changes, so maybe the plan was already to just wait for 1.10 to merge them all, is that right?
Spec loaders and asset factories for BI integrations, like |
It wouldn't be that hard to do what @OwenKephart suggested right? Even though we are "allowed" to do breaking changes if a relatively low effort option is available we should do that, especially on a feature we have discussed so publicly. |
That makes sense - I thought avoiding a deprecation cycle for an experimental feature would have been the best, but I see the value in emitting the warning. I can go ahead and make the update. |
1806a5b
to
65fc2f4
Compare
de80f7a
to
b0aeafb
Compare
65fc2f4
to
3161f37
Compare
84de0e4
to
344b741
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would like a test to test the deprecation warning (on the power BI one as well) but will not block
344b741
to
fddc778
Compare
Updated for Power BI, Tableau and Looker |
Summary & Motivation
Same as #26734 but for Looker.
How I Tested These Changes
BK
Changelog
[dagster-looker]
load_looker_asset_specs
andbuild_looker_pdt_assets_definitions
are updated to accept an instance ofDagsterLookerApiTranslator
or custom subclass.