Skip to content

Commit

Permalink
Merge pull request #93 from dpguthrie/fix/update-env-var-method
Browse files Browse the repository at this point in the history
Update Env Var Method
  • Loading branch information
dpguthrie authored Jul 30, 2023
2 parents db786a4 + 2ec54a7 commit 9d7f9d9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [0.5.2] - 2023-07-30

### Fixed
- Method used in the `update_environment_variables` method call from `POST` to `PUT`

## [0.5.1] - 2023-07-30

### Added
Expand Down
2 changes: 1 addition & 1 deletion dbtc/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.5.1'
__version__ = '0.5.2'
2 changes: 1 addition & 1 deletion dbtc/client/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1780,7 +1780,7 @@ def update_environment_variables(
"""
return self._simple_request(
f'accounts/{account_id}/projects/{project_id}/environment-variables/bulk', # noqa: E501
method='post',
method='put',
json=payload,
)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dbtc"
version = "0.5.1"
version = "0.5.2"
description = "An unaffiliated python wrapper for dbt Cloud APIs"
authors = ["Doug Guthrie <douglas.p.guthrie@gmail.com>"]
documentation = "https://dbtc.dpguthrie.com"
Expand Down

0 comments on commit 9d7f9d9

Please sign in to comment.