Skip to content

Commit

Permalink
Merge pull request #106 from boxysean/fix/managed-repo
Browse files Browse the repository at this point in the history
[Fix] Add payload parameter to create_managed_repository
  • Loading branch information
dpguthrie authored Sep 3, 2024
2 parents 81b917d + 91494d5 commit 02d8e1a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [0.11.3]

### Fixed

- Add payload parameter to create_managed_repository

## [0.11.2]

### Fixed
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.11.2"
__version__ = "0.11.3"
3 changes: 2 additions & 1 deletion dbtc/client/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 02d8e1a

Please sign in to comment.