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

Remove tag exclusion from exposures #195

Merged
merged 5 commits into from
Jun 9, 2021
Merged

Conversation

stkbailey
Copy link
Contributor

@stkbailey stkbailey commented Jun 7, 2021

resolves #194

Description

This PR removes the exclusion of tags from the exposure docs. This is now allowed due to a PR to dbt enabling tags and meta on exposures. dbt-labs/dbt-core#3405

Example result is below (jaffle_shop):

exposures:
  - name: user_exposure
    type: dashboard
    depends_on:
      - ref('stg_customers')
    owner:
      email: nope@example.com
    meta:
      foo: bar
      fun: [times]
    tags:
    - funny
    - silly

image

Checklist

  • I have signed the CLA
  • I have generated docs locally, and this change appears to resolve the stated issue
  • I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

@cla-bot cla-bot bot added the cla:yes label Jun 7, 2021
Copy link
Contributor

@jtcohen6 jtcohen6 left a comment

Choose a reason for hiding this comment

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

@stkbailey Looks great, thanks!

As far as the changelog, I just updated to reflect the 0.20.0rc1 release. Can you:

  • Pull latest master
  • Add an entry below ## dbt 0.20.0 (Release TBD)
  • Move your name to a new Contributors list below ## dbt 0.20.0 (Release TBD)

stkbailey and others added 2 commits June 8, 2021 06:52
* Merge upstream docs changes

* add meta information from sources to be picked up by rendering too

* Update CHANGELOG.md

* Update Changelog

Co-authored-by: Diëgo De Wilde <diego@dewilde.it>
Co-authored-by: Jeremy Cohen <jeremy@fishtownanalytics.com>

* Update changelog

Co-authored-by: Diëgo De Wilde <diego@dewilde.it>
Co-authored-by: Jeremy Cohen <jeremy@fishtownanalytics.com>
@stkbailey stkbailey closed this Jun 8, 2021
@stkbailey stkbailey reopened this Jun 8, 2021
@stkbailey
Copy link
Contributor Author

I think this is set now @jtcohen6 ... git got a little sloppy though 😭

Copy link
Contributor

@jtcohen6 jtcohen6 left a comment

Choose a reason for hiding this comment

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

All good! Thanks so much for this @stkbailey. The meta + tag names in your sample/screenshot brought a smile to my face :)

@jtcohen6 jtcohen6 merged commit e5dc7bc into dbt-labs:master Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "tags" to exposure docs
2 participants