Skip to content

Commit

Permalink
change default of 'default'
Browse files Browse the repository at this point in the history
to keep default state of the quota as it is
  • Loading branch information
bernt-matthias committed Aug 24, 2023
1 parent 12be9f7 commit 0af0e0f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion bioblend/_tests/TestGalaxyQuotas.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def test_update_quota_nondefault(self):
response = self.gi.quotas.update_quota(
self.quota["id"],
name=self.quota_name + "-updated",
default=None,
)
assert f"""Quota '{self.quota_name}' has been renamed to '{self.quota_name}-updated'""" in response
quota = self.gi.quotas.show_quota(self.quota["id"])
Expand Down
2 changes: 1 addition & 1 deletion bioblend/galaxy/quotas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def update_quota(
description: Optional[str] = None,
amount: Optional[str] = None,
operation: Optional[QuotaOperations] = None,
default: Optional[QuotaDefault] = "no",
default: Optional[QuotaDefault] = None,
in_users: Optional[List[str]] = None,
in_groups: Optional[List[str]] = None,
) -> str:
Expand Down

0 comments on commit 0af0e0f

Please sign in to comment.