diff --git a/python_modules/dagster-graphql/dagster_graphql/schema/asset_graph.py b/python_modules/dagster-graphql/dagster_graphql/schema/asset_graph.py index d980b29c2142a..cde1ca81add90 100644 --- a/python_modules/dagster-graphql/dagster_graphql/schema/asset_graph.py +++ b/python_modules/dagster-graphql/dagster_graphql/schema/asset_graph.py @@ -1215,13 +1215,10 @@ def resolve_tags(self, _graphene_info: ResolveInfo) -> Sequence[GrapheneDefiniti def resolve_kinds(self, _graphene_info: ResolveInfo) -> Sequence[str]: if self._external_asset_node.compute_kind: - storage_kind = (self._external_asset_node.tags or {}).get("dagster/storage_kind") - if storage_kind: - return [self._external_asset_node.compute_kind, storage_kind] return [self._external_asset_node.compute_kind] return [ - key.split("/", maxsplit=2)[-1] + key[len(KIND_PREFIX) :] for key in (self._external_asset_node.tags or {}).keys() if get_definition_tag_type(key) == TagType.HIDDEN and key.startswith(KIND_PREFIX) ] diff --git a/python_modules/dagster-graphql/dagster_graphql_tests/graphql/test_assets.py b/python_modules/dagster-graphql/dagster_graphql_tests/graphql/test_assets.py index 44bed6acd1136..5f10bfc73c437 100644 --- a/python_modules/dagster-graphql/dagster_graphql_tests/graphql/test_assets.py +++ b/python_modules/dagster-graphql/dagster_graphql_tests/graphql/test_assets.py @@ -2637,7 +2637,7 @@ def test_kinds(self, graphql_context: WorkspaceRequestContext): ) third_kinds_key = result.data["assetNodeOrError"] - assert set(third_kinds_key["kinds"]) == {"python", "snowflake"} + assert set(third_kinds_key["kinds"]) == {"python"} result = execute_dagster_graphql( graphql_context,