-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Access DEBUG flag through get_flags() #11069
Conversation
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Thomas Reynaud.
|
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Thomas Reynaud.
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Thomas Reynaud.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Thank you for fixing this ❤️
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11069 +/- ##
==========================================
- Coverage 89.18% 82.08% -7.10%
==========================================
Files 183 183
Lines 23783 23783
==========================================
- Hits 21211 19523 -1688
- Misses 2572 4260 +1688
Flags with carried forward coverage won't be shown. Click here to find out more.
|
For documentation purposes, I've gone and manually added the |
Resolves #11068
Problem
ManifestLoader.check_for_spaces_in_resource_names()
causes anAttributeError
in certain cases, for instance when used with SQLFluff dbt templater.AttributeError: 'DbtConfigArgs' object has no attribute 'DEBUG'
Solution
Access the
DEBUG
flag through theget_flags()
method as done everywhere else in the codebase.Checklist