Skip to content

Commit

Permalink
fix: correcting jinja graph exposure property name from "source" to "…
Browse files Browse the repository at this point in the history
…exposure" (#4116)

## What are you changing in this pull request and why?

This is a small fix to correct the docs on the DBT jinja graph
components. The dbt graph element for exposures are currently
incorrectly documented as having a unique_id namespaced by `source`,
when in fact they are namespaced by `exposure`.

This PR makes that small correction.

## Checklist
No applicable checklist items.
  • Loading branch information
mirnawong1 authored Sep 25, 2023
2 parents 2d87496 + e6c52f6 commit 868529a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/reference/dbt-jinja-functions/graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ representations of those nodes. A simplified example might look like:
},
"exposures": {
"exposure.my_project.traffic_dashboard": {
"unique_id": "source.my_project.traffic_dashboard",
"unique_id": "exposure.my_project.traffic_dashboard",
"type": "dashboard",
"maturity": "high",
"path": "models/path/to/schema.yml",
Expand Down

0 comments on commit 868529a

Please sign in to comment.