Skip to content

Commit

Permalink
Merge branch 'current' into dbeatty/column-is-integer
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Sep 22, 2023
2 parents c51321f + 882f656 commit 6c51e5a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
---
title: " About dbt_project.yml context variables"
title: " About dbt_project.yml context"
sidebar_label: "dbt_project.yml context"
id: "dbt-project-yml-context"
description: "The context variables and methods are available when configuring resources in the dbt_project.yml file."
description: "The context methods and variables available when configuring resources in the dbt_project.yml file."
---

The following context variables and methods are available when configuring
The following context methods and variables are available when configuring
resources in the `dbt_project.yml` file. This applies to the `models:`, `seeds:`,
and `snapshots:` keys in the `dbt_project.yml` file.

**Available context methods:**
- [env_var](/reference/dbt-jinja-functions/env_var)
- [var](/reference/dbt-jinja-functions/var) (_Note: only variables defined with `--vars` are available_)

**Available context variables:**
- [target](/reference/dbt-jinja-functions/target)
- [env_var](/reference/dbt-jinja-functions/env_var)
- [vars](/reference/dbt-jinja-functions/var) (_Note: only variables defined with `--vars` are available_)
- [builtins](/reference/dbt-jinja-functions/builtins)
- [dbt_version](/reference/dbt-jinja-functions/dbt_version)


### Example configuration

<File name='dbt_project.yml'>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
title: "About profiles.yml context variable"
title: "About profiles.yml context"
sidebar_label: "profiles.yml context"
id: "profiles-yml-context"
description: "Use these context variables to configure resources in `profiles.yml` file."
description: "Use these context methods to configure resources in `profiles.yml` file."
---

The following context variables and methods are available when configuring
The following context methods are available when configuring
resources in the `profiles.yml` file.

**Available context variables:**
**Available context methods:**
- [env_var](/reference/dbt-jinja-functions/env_var)
- [vars](/reference/dbt-jinja-functions/var) (_Note: only variables defined with `--vars` are available_)
- [var](/reference/dbt-jinja-functions/var) (_Note: only variables defined with `--vars` are available_)

### Example usage

Expand Down

0 comments on commit 6c51e5a

Please sign in to comment.