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

Save selector dictionary and write out in manifest [#2693][#2800] #2866

Merged
merged 1 commit into from
Nov 10, 2020

Conversation

gshank
Copy link
Contributor

@gshank gshank commented Nov 5, 2020

resolves #2693 and #2800

Description

Saves dictionary version of selectors.yml file and includes in the manifest, for use in docs generate later. Adds the ability to include a 'description' in a selector.

Checklist

  • I have signed the CLA
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

@gshank gshank force-pushed the feature/2693-selectors-to-manifest branch from d21fe83 to a25a80b Compare November 6, 2020 14:55
@cla-bot cla-bot bot added the cla:yes label Nov 6, 2020
@gshank gshank force-pushed the feature/2693-selectors-to-manifest branch 9 times, most recently from 4947954 to 3a60345 Compare November 8, 2020 22:20
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.

lgtm!

I just opened #2879 to reflect the additional lift, which we discussed yesterday, around standardizing selectors in favor of their fuller representation.

Comment on lines +915 to +921
# Provide support for copy.deepcopy() - we just need to avoid the lock!
# pickle and deepcopy use this. It returns a callable object used to
# create the initial version of the object and a tuple of arguments
# for the object, i.e. the Manifest.
# The order of the arguments must match the order of the attributes
# in the Manifest class declaration, because they are used as
# positional arguments to construct a Manifest.
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@gshank gshank force-pushed the feature/2693-selectors-to-manifest branch from 3a60345 to 74316bf Compare November 10, 2020 16:17
@gshank gshank merged commit 3af0202 into dev/kiyoshi-kuromiya Nov 10, 2020
@kwigley kwigley deleted the feature/2693-selectors-to-manifest branch February 12, 2021 14:04
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 YAML selectors to manifest
3 participants