From aae33b24e9ea7fdf5bdea96e76e4dbd295ec89a5 Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Tue, 9 Apr 2024 11:58:40 +0100 Subject: [PATCH] add python --- website/docs/docs/build/metrics-overview.md | 2 +- website/docs/docs/build/semantic-models.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/docs/build/metrics-overview.md b/website/docs/docs/build/metrics-overview.md index 29cacc530d0..e48e5706aec 100644 --- a/website/docs/docs/build/metrics-overview.md +++ b/website/docs/docs/build/metrics-overview.md @@ -7,7 +7,7 @@ tags: [Metrics, Semantic Layer] pagination_next: "docs/build/cumulative" --- -Once you've created your semantic models, it's time to start adding metrics! Metrics can be defined in the same YAML files as your semantic models, or split into separate YAML files into any other subdirectories (provided that these subdirectories are also within the same dbt project repo) +Once you've created your semantic models, it's time to start adding metrics. Metrics can be defined in the same YAML files as your semantic models, or split into separate YAML files into any other subdirectories (provided that these subdirectories are also within the same dbt project repo). The keys for metrics definitions are: diff --git a/website/docs/docs/build/semantic-models.md b/website/docs/docs/build/semantic-models.md index ae2943dce5b..55684e16aa1 100644 --- a/website/docs/docs/build/semantic-models.md +++ b/website/docs/docs/build/semantic-models.md @@ -14,9 +14,9 @@ Semantic models are the foundation for data definition in MetricFlow, which powe - Think of semantic models as nodes connected by entities in a semantic graph. - MetricFlow uses YAML configuration files to create this graph for querying metrics. - Each semantic model corresponds to a dbt model in your DAG, requiring a unique YAML configuration for each semantic model. -- You can create multiple semantic models from a single dbt model, as long as you give each semantic model a unique name. +- You can create multiple semantic models from a single dbt model (SQL or Python), as long as you give each semantic model a unique name. - Configure semantic models in a YAML file within your dbt project directory. -- Organize them under a `metrics:` folder or within project sources as needed. +- Organize them under a `metrics:` folder or within project sources as needed.