You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some DBT API POST methods, such as triggerRun, accept body JSON data structures as parameters (i.e. steps_override).
_post method of pydbtcloud does not offer a way to send the body with JSON-encoding -- as such, it is very difficult to properly use the DBT API for methods that utilize such parameters.
The text was updated successfully, but these errors were encountered:
I recommend the pydbtcloud _post method be modified to accept a headers parameter, which can be used by the caller to add a Content-Type: application/json header, which will then allow proper JSON data to be sent to DBT API.
I'll submit a PR for this.
hans2520
added a commit
to hans2520/py-dbt-cloud
that referenced
this issue
Mar 15, 2022
Some DBT API POST methods, such as triggerRun, accept body JSON data structures as parameters (i.e.
steps_override
)._post
method of pydbtcloud does not offer a way to send the body with JSON-encoding -- as such, it is very difficult to properly use the DBT API for methods that utilize such parameters.The text was updated successfully, but these errors were encountered: