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-1746] Flags.MP_CONTEXT is not JSON serializable #6509

Closed
Tracked by #6706 ...
MichelleArk opened this issue Jan 4, 2023 · 1 comment · Fixed by #6650
Closed
Tracked by #6706 ...

[CT-1746] Flags.MP_CONTEXT is not JSON serializable #6509

MichelleArk opened this issue Jan 4, 2023 · 1 comment · Fixed by #6650
Assignees
Labels
python_api Issues related to dbtRunner Python entry point

Comments

@MichelleArk
Copy link
Contributor

One of the many exceptions raised during integration test runs on the feature/click-cli branch is:

TypeError: Object of type SpawnContext is not JSON serializable

There are a couple options to mitigate the issue:

  1. Remove MP_CONTEXT from flags (where would be the best place to put it instead?)
  2. Avoid serializing MP_CONTEXT
@MichelleArk MichelleArk added the python_api Issues related to dbtRunner Python entry point label Jan 4, 2023
@github-actions github-actions bot changed the title Flags.MP_CONTEXT is not JSON serializable [CT-1746] Flags.MP_CONTEXT is not JSON serializable Jan 4, 2023
@iknox-fa
Copy link
Contributor

@ChenyuLInx Can you make sure that this has been fixed? Per BLG we really think this doesn't belong in flags and should re-locate it-- will open a ticket for that work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python_api Issues related to dbtRunner Python entry point
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants