diff --git a/CHANGELOG.md b/CHANGELOG.md index 582b8fb..83d96bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [0.11.3] + +### Fixed + +- Add payload parameter to create_managed_repository + ## [0.11.2] ### Fixed diff --git a/dbtc/_version.py b/dbtc/_version.py index e2bd072..1bebb74 100644 --- a/dbtc/_version.py +++ b/dbtc/_version.py @@ -1 +1 @@ -__version__ = "0.11.2" +__version__ = "0.11.3" diff --git a/dbtc/client/admin.py b/dbtc/client/admin.py index 9c20564..7a51b83 100644 --- a/dbtc/client/admin.py +++ b/dbtc/client/admin.py @@ -1043,7 +1043,7 @@ def update_project(self, account_id: int, project_id: int, payload: Dict) -> Dic # REPOS @v3 - def create_managed_repository(self, account_id: int, project_id: int) -> Dict: + def create_managed_repository(self, account_id: int, project_id: int, payload: Dict) -> Dict: """Create a new dbt Cloud managed repository Args: @@ -1053,6 +1053,7 @@ def create_managed_repository(self, account_id: int, project_id: int) -> Dict: return self._simple_request( f"accounts/{account_id}/projects/{project_id}/managed-repositories/", method="post", + json=payload, ) @v3