Skip to content

Commit

Permalink
Merge pull request #366 from jaceksan/gartner
Browse files Browse the repository at this point in the history
TRIVIAL: gooddata-dbt - do not store ACTIVITY_INFO into layouts

Reviewed-by: Jan Kadlec
             https://github.com/hkad98
  • Loading branch information
gdgate authored Oct 2, 2023
2 parents abe85dc + c4a7da4 commit 782803b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion gooddata-dbt/gooddata_dbt/dbt_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,14 @@ def store_analytics(
logger: logging.Logger, sdk: GoodDataSdk, workspace_id: str, data_product: GoodDataConfigProduct
) -> None:
logger.info("Store analytics model to disk")
sdk.catalog_workspace_content.store_analytics_model_to_disk(workspace_id, layout_model_path(data_product))
sdk.catalog_workspace_content.store_analytics_model_to_disk(
workspace_id,
layout_model_path(data_product),
# Exclude attributes related to activities of users, e.g. createdBy
# When delivering programmatically,
# we don't want to transfer info about users and their activities into another environments
exclude=["ACTIVITY_INFO"],
)


def test_insights(logger: logging.Logger, sdk: GoodDataSdk, workspace_id: str) -> None:
Expand Down

0 comments on commit 782803b

Please sign in to comment.