Skip to content

Commit

Permalink
add powerbi PII tag as well
Browse files Browse the repository at this point in the history
  • Loading branch information
cnolanminich committed Dec 5, 2024
1 parent ded2dc8 commit 51fd079
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion hooli-bi/hooli_bi/powerbi_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ def get_semantic_model_spec(self, data: PowerBIContentData) -> AssetSpec:
metadata={"dagster/column_schema": TableSchema(
columns=[TableColumn(
name=col["name"],
type=col["dataType"])
type=col["dataType"],
tags={"PII":""} if col["name"] == "USER_ID" else None)
for col in data.properties["tables"][0]["columns"]])},
tags={"core_kpis":""},
)
Expand Down
9 changes: 6 additions & 3 deletions workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
load_from:
- python_module:
module_name: hooli_data_eng
- python_module:
module_name: hooli_bi
working_directory: hooli-bi/


# Example of deploying multiple code locations locally
# - python_module:
# module_name: hooli_data_ingest
# working_directory: hooli-data-ingest/
# load bi code location
# - python_module:
# module_name: hooli_bi
# working_directory: hooli-bi/

0 comments on commit 51fd079

Please sign in to comment.