Skip to content

Commit

Permalink
Merge branch 'current' into nfiann-manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliefiann authored Mar 4, 2025
2 parents df474af + 9febf89 commit 8aaf26b
Showing 1 changed file with 117 additions and 0 deletions.
117 changes: 117 additions & 0 deletions website/docs/reference/resource-configs/meta.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ hide_table_of_contents: true
}>
<TabItem value="models">

<File name='dbt_project.yml'>

```yml
models:
[<resource-path>](/reference/resource-configs/resource-path):
+meta: {<dictionary>}

```

</File>

<File name='models/schema.yml'>

```yml
Expand Down Expand Up @@ -51,6 +62,15 @@ See [configs and properties](/reference/configs-and-properties) for details.

<TabItem value="sources">

<File name='dbt_project.yml'>

```yml
sources:
[<resource-path>](/reference/resource-configs/resource-path):
+meta: {<dictionary>}
```
</File>
<File name='models/schema.yml'>
```yml
Expand Down Expand Up @@ -78,6 +98,15 @@ version: 2

<TabItem value="seeds">

<File name='dbt_project.yml'>

```yml
seeds:
[<resource-path>](/reference/resource-configs/resource-path):
+meta: {<dictionary>}
```
</File>
<File name='seeds/schema.yml'>
```yml
Expand All @@ -102,6 +131,15 @@ The `meta` config can also be defined under the `seeds` config block in `dbt_pro

<TabItem value="snapshots">

<File name='dbt_project.yml'>

```yml
snapshots:
[<resource-path>](/reference/resource-configs/resource-path):
+meta: {<dictionary>}
```
</File>
<File name='snapshots/schema.yml'>
```yml
Expand Down Expand Up @@ -142,6 +180,15 @@ The `meta` config is not currently supported for analyses.

<TabItem value="macros">

<File name='dbt_project.yml'>

```yml
macros:
[<resource-path>](/reference/resource-configs/resource-path):
+meta: {<dictionary>}
```
</File>
<File name='macros/schema.yml'>
```yml
Expand All @@ -162,6 +209,15 @@ version: 2

<TabItem value="exposures">

<File name='dbt_project.yml'>

```yml
exposures:
[<resource-path>](/reference/resource-configs/resource-path):
+meta: {<dictionary>}
```
</File>
<File name='models/exposures.yml'>
```yml
Expand Down Expand Up @@ -194,10 +250,42 @@ semantic_models:
```

</File>

<File name='dbt_project.yml'>

```yml
semantic-models:
[<resource-path>](/reference/resource-configs/resource-path):
+meta: {<dictionary>}
```
</File>
</VersionBlock>
<VersionBlock firstVersion="1.9">
<File name='dbt_project.yml'>
```yml
semantic-models:
[<resource-path>](/reference/resource-configs/resource-path):
+meta: {<dictionary>}
```
</File>
<File name='models/semantic_models.yml'>
```yml
semantic_models:
- name: semantic_model_name
config:
meta: {<dictionary>}

```

</File>

[Dimensions](/docs/build/dimensions), [entities](/docs/build/entities), and [measures](/docs/build/measures) can also have their own `meta` configurations.

<File name='models/semantic_models.yml'>
Expand Down Expand Up @@ -226,6 +314,7 @@ semantic_models:
```

</File>

</VersionBlock>

The `meta` config can also be defined under the `semantic-models` config block in `dbt_project.yml`. See [configs and properties](/reference/configs-and-properties) for details.
Expand All @@ -236,6 +325,15 @@ The `meta` config can also be defined under the `semantic-models` config block i

<VersionBlock lastVersion="1.7">

<File name='dbt_project.yml'>

```yml
metrics:
[<resource-path>](/reference/resource-configs/resource-path):
+meta: {<dictionary>}
```
</File>
<File name='models/metrics.yml'>
```yml
Expand All @@ -254,6 +352,16 @@ metrics:
</VersionBlock>
<VersionBlock firstVersion="1.8">
<File name='dbt_project.yml'>
```yml
metrics:
[<resource-path>](/reference/resource-configs/resource-path):
+meta: {<dictionary>}
```
</File>
<File name='models/metrics.yml'>
```yml
Expand All @@ -276,6 +384,15 @@ metrics:
<TabItem value="saved queries">
<File name='dbt_project.yml'>
```yml
saved-queries:
[<resource-path>](/reference/resource-configs/resource-path):
+meta: {<dictionary>}
```
</File>
<File name='models/semantic_models.yml'>
```yml
Expand Down

0 comments on commit 8aaf26b

Please sign in to comment.