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

[dagster-tableau] Mark get_asset_key as deprecated in DagsterTableauTranslator #26028

Merged

Conversation

maximearmstrong
Copy link
Contributor

@maximearmstrong maximearmstrong commented Nov 20, 2024

Summary & Motivation

Mark DagsterTableauTranslator.get_asset_key as deprecated. To be removed in 1.10.

This PR stack will be merged after #25941 lands, so that replace_attributes() can be called as AssetSpec().replace_attributes()

Changelog

[dagster-tableau] DagsterTableauTranslator.get_asset_key is deprecated in favor of DagsterTableauTranslator.get_asset_spec().key

@deprecated(
breaking_version="1.10",
additional_warn_text="Use `DagsterTableauTranslator.get_asset_spec().key` instead",
)
Copy link
Member

Choose a reason for hiding this comment

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

Can we alter the implementation to just return get_asset_spec(...).key?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done in 7c1d54d in #26027 to respect the purpose of this PR

@maximearmstrong maximearmstrong force-pushed the maxime/deprecate-get-asset-key-tableau-translator branch from 142f9ce to 43ea996 Compare November 20, 2024 14:08
@maximearmstrong maximearmstrong force-pushed the maxime/use-get-asset-spec-key-in-tableau-translator branch from 7c1d54d to c274578 Compare November 20, 2024 17:58
@maximearmstrong maximearmstrong force-pushed the maxime/deprecate-get-asset-key-tableau-translator branch from 43ea996 to 2ac721a Compare November 20, 2024 17:58
@maximearmstrong maximearmstrong force-pushed the maxime/deprecate-get-asset-key-tableau-translator branch from de029db to 3c9210b Compare November 25, 2024 19:33
@maximearmstrong maximearmstrong merged commit 6a650ff into master Nov 25, 2024
1 check passed
@maximearmstrong maximearmstrong deleted the maxime/deprecate-get-asset-key-tableau-translator branch November 25, 2024 19:57
maximearmstrong added a commit that referenced this pull request Nov 25, 2024
…lator (#26036)

## Summary & Motivation

Like #26028 but for Sigma

## Changelog

[dagster-sigma] `DagsterSigmaTranslator.get_asset_key` is deprecated in
favor of `DagsterSigmaTranslator.get_asset_spec().key`
maximearmstrong added a commit that referenced this pull request Nov 25, 2024
…rApiTranslator (#26049)

## Summary & Motivation

Like #26028 but for Looker API

## Changelog

[dagster-looker] `DagsterLookerApiTranslator.get_asset_key` is
deprecated in favor of `DagsterLookerApiTranslator.get_asset_spec().key`
maximearmstrong added a commit that referenced this pull request Nov 27, 2024
…rBITranslator (#26052)

## Summary & Motivation

Like #26028 but for Power BI

## Changelog

[dagster-powerbi] `DagsterPowerBITranslator.get_asset_key` is deprecated
in favor of `DagsterPowerBITranslator.get_asset_spec().key`
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.

3 participants