Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benpankow committed Aug 30, 2024
1 parent 233a5dc commit 4428969
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def compute_cacheable_data(self) -> Sequence[AssetsDefinitionCacheableData]:
]
]

def build_assets(
def build_definitions(
self,
data: Sequence[AssetsDefinitionCacheableData],
) -> Sequence[AssetsDefinition]:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def test_translator_semantic_model(workspace_data: PowerBIWorkspaceData) -> None
assert asset_spec.tags == {"dagster/storage_kind": "powerbi"}
deps = list(asset_spec.deps)
assert len(deps) == 2
assert deps[0].asset_key == AssetKey(["data_27_09_2019.xlsx"])
assert deps[1].asset_key == AssetKey(["sales_marketing_datas.xlsx"])
assert deps[0].asset_key == AssetKey(["data_27_09_2019_xlsx"])
assert deps[1].asset_key == AssetKey(["sales_marketing_datas_xlsx"])


class MyCustomTranslator(DagsterPowerBITranslator):
Expand Down

0 comments on commit 4428969

Please sign in to comment.