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

[CT-2607] [Bug] Invalid YAML dictionary error for warn-error-options references the --vars flag #7730

Closed
2 tasks done
joellabes opened this issue May 29, 2023 · 1 comment · Fixed by #7735
Closed
2 tasks done
Assignees
Labels
bug Something isn't working cli
Milestone

Comments

@joellabes
Copy link
Contributor

Is this a new bug in dbt-core?

  • I believe this is a new bug in dbt-core
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

Run dbt --warn-error-options '' run -s doesntexist
The error message is The --vars argument must be a YAML dictionary, but was of type 'NoneType'- talking about the --vars argument instead of --warn-error-options. Looks like a lil copy-paste mistake.

Expected Behavior

The --warn-error-options argument must be a YAML dictionary, but was of type 'NoneType

Steps To Reproduce

Above

Relevant log output

No response

Environment

- OS: MacOS
- Python: Yes
- dbt: 1.5.0

Which database adapter are you using with dbt?

No response

Additional Context

No response

@joellabes joellabes added bug Something isn't working triage labels May 29, 2023
@github-actions github-actions bot changed the title [Bug] Invalid YAML dictionary error for warn-error-options references the --vars flag [CT-2607] [Bug] Invalid YAML dictionary error for warn-error-options references the --vars flag May 29, 2023
@jtcohen6 jtcohen6 added the cli label May 30, 2023
@jtcohen6 jtcohen6 added this to the v1.5.x milestone May 30, 2023
@jtcohen6
Copy link
Contributor

Thanks @joellabes!

@MichelleArk beat us to it :)

@jtcohen6 jtcohen6 removed the triage label May 30, 2023
@MichelleArk MichelleArk self-assigned this May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants