-
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
[CT-2594] [Regression] WarnErrorOptions in invocation_args_dict is not JSON serialisable #7694
Comments
Thanks @jared-rimmer! This is similar to: I agree that we should serialize Lines 614 to 656 in 45d6145
Is that something you'd be interested in poking around with? Otherwise, we'll try to include this for a v1.5 patch, but I view it as lower priority relative to other bugs/regressions. |
May be able to just pass the dbtclass mixin to the warnerroroptions. |
Interesting the |
@jtcohen6 you said
@jared-rimmer how exactly are you going about inspecting the value of |
I agree with this! Feels much more desirable to expose the information in this way |
Is this a new bug in dbt-core?
Current Behavior
warn_error_options
in theinvocation_arg_dict
object is a Python object which looks like"warn_error_options": WarnErrorOptions(include=[], exclude=[]),
Expected Behavior
warn_error_options
in theinvocation_arg_dict
object was a string of a dict object which looks like"warn_error_options\": {\"exclude\":[],\"include\":[]}
Steps To Reproduce
invocation_arg_dict
objectRelevant log output
No response
Environment
Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
All of them
The text was updated successfully, but these errors were encountered: