Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an example of meta in dbt_project #2270

Merged
merged 4 commits into from
Oct 21, 2023

Conversation

jsnb-devoted
Copy link
Contributor

@jsnb-devoted jsnb-devoted commented Oct 17, 2022

Description & motivation

It took me a while to figure out why my meta tag wasn't being captured in the dbt_project file. I needed it nested under the config block. I think it would have helped if there was an example of that.

(I deleted all the checklists as it didn't seem like they were needed for this PR)

It took me a while to figure out why my `meta` tag wasn't being captured in the dbt_project file. I needed it nested under the `config` block. I think it would have helped if there was an example of that.
@github-actions github-actions bot added the content Improvements or additions to content label Oct 17, 2022
@netlify
Copy link

netlify bot commented Oct 17, 2022

Deploy Preview for docs-getdbt-com failed.

Built without sensitive environment variables

Name Link
🔨 Latest commit dcac3d9
🔍 Latest deploy log https://app.netlify.com/sites/docs-getdbt-com/deploys/634dc51be3483f0008f331f0

@github-actions github-actions bot added the size: small This change will take 1 to 2 days to address label Oct 17, 2022
@runleonarun
Copy link
Collaborator

Thank you for contributing to this site!

We're closing this PR because it looks like we've added owner to examples on this page.

@jsnb-devoted
Copy link
Contributor Author

@runleonarun -- my example was doing it in the dbt_project.yml file. The syntax is different. It requires nesting it under the config options. If you wanted to add an owner to a folder of models you would need to know that the config is required.

@jsnb-devoted
Copy link
Contributor Author

dbt_project.yml:

models:
  <project>:
    <folder containing models>:
      +config:
        meta:
          owner: <owner name>

this is different than how it is done in the example on the site. There is no config block (docs)

@runleonarun runleonarun reopened this Oct 20, 2023
@runleonarun runleonarun requested a review from a team as a code owner October 20, 2023 19:26
@vercel
Copy link

vercel bot commented Oct 20, 2023

@mirnawong1 is attempting to deploy a commit to the dbt-labs Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Oct 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 20, 2023 8:44pm

@runleonarun
Copy link
Collaborator

Thanks for letting me know @jsnb-devoted! I re-opened it and will review and merge it.

Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com>
Copy link
Collaborator

@runleonarun runleonarun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thank you!

@runleonarun runleonarun merged commit 8178b1d into dbt-labs:current Oct 21, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content size: small This change will take 1 to 2 days to address
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants