Skip to content

Commit

Permalink
Remove account_id enforcement from client on project create
Browse files Browse the repository at this point in the history
[EH-776]
  • Loading branch information
dogukancagatay committed Nov 15, 2023
1 parent 4c3ddff commit cebc59d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aiven/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,7 @@ def get_account_authentication_methods(self, account_id: str) -> Sequence[dict[s
def create_project(
self,
project: str,
account_id: str,
account_id: str | None,
billing_group_id: str | None = None,
cloud: str | None = None,
copy_from_project: str | None = None,
Expand All @@ -1649,8 +1649,9 @@ def create_project(
body: dict[str, Any] = {
"cloud": cloud,
"project": project,
"account_id": account_id,
}
if account_id is not None:
body["account_id"] = account_id
if billing_group_id is not None:
body["billing_group_id"] = billing_group_id
if copy_from_project is not None:
Expand Down

0 comments on commit cebc59d

Please sign in to comment.