Skip to content

[CT-2594] [Regression] WarnErrorOptions in invocation_args_dict is not JSON serialisable  #7694

Closed
@jared-rimmer

Description

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

  • In dbt 1.5.0 the value for the key warn_error_options in the invocation_arg_dict object is a Python object which looks like "warn_error_options": WarnErrorOptions(include=[], exclude=[]),

Expected Behavior

  • In dbt 1.4.x and earlier the value for the key warn_error_options in the invocation_arg_dict object was a string of a dict object which looks like "warn_error_options\": {\"exclude\":[],\"include\":[]}

Steps To Reproduce

  1. Invoke dbt in 1.4.x with the warn options flag
  2. Do the same in 1.5.0
  3. Observe the difference invocation_arg_dict object

Relevant log output

No response

Environment

- OS: Mac
- Python: 3.8
- dbt: 1.5.0

Which database adapter are you using with dbt?

other (mention it in "Additional Context")

Additional Context

All of them

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions