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

Feature: Enable quote preservation to DbtYAML class by default #88

Merged

Conversation

nicholasyager
Copy link
Collaborator

Description of Changes

Update DbtYAML class to have quote preservation on by default. This is accomplished by setting preserve_quotes = True during initialization of the class.

Resolves: #66

Example Output

 - name: customer_type
    description: Options are 'new' or 'returning', indicating if a customer has ordered more than once or has only placed their first order to date.
    tests:
      - accepted_values:
          values: ["new", "returning"]

@nicholasyager nicholasyager added the enhancement New feature or request label Jul 1, 2023
@nicholasyager nicholasyager self-assigned this Jul 1, 2023
@b-per b-per self-requested a review July 3, 2023 11:05
@b-per b-per merged commit 6935d1f into dbt-labs:main Jul 3, 2023
@nicholasyager nicholasyager deleted the nicholasyager-preserve_yaml_quotes branch August 7, 2023 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

preserve quotes in YML
2 participants