Skip to content

Commit

Permalink
This branch was auto-updated!
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Nov 8, 2023
2 parents de43f12 + 4e63205 commit 8782ebc
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions website/docs/reference/resource-configs/enabled.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,20 +261,26 @@ Support for disabling semantic models has been added in dbt Core v1.7

<VersionBlock firstVersion="1.7">

<File name='semantic_models.yml'>

```yml
semantic_models:
- name: semantic_people
model: ref('people')
config:
enabled: false
<File name='dbt_project.yml'>

```yaml
semantic-models:
[<resource-path>](/reference/resource-configs/resource-path):
[+](/reference/resource-configs/plus-prefix)enabled: true | false
```
</File>
The `enabled` configuration can be nested under the `config` key.
<File name='models/semantic_models.yml'>
```yaml
semantic_models:
- name: [<semantic_model_name>]
[config](/reference/resource-properties/config):
enabled: true | false
```
</File>
</VersionBlock>
Expand All @@ -283,7 +289,7 @@ The `enabled` configuration can be nested under the `config` key.
</Tabs>
## Definition
An optional configuration for disabling models, seeds, snapshots, tests, and semantic models.
An optional configuration for enabling or disabling a resource.
* Default: true
Expand Down

0 comments on commit 8782ebc

Please sign in to comment.