Skip to content

Commit

Permalink
Change default value of operation parameter of ``QuotaClient.upda…
Browse files Browse the repository at this point in the history
…te_quota()`` to "="

which is the same of the Galaxy API since 21.09 and makes the
``test_update_non_default_quota`` pass for Galaxy <21.09 without
having to specify the ``operation`` parameter.
  • Loading branch information
nsoranzo committed Jul 25, 2024
1 parent 904ad43 commit 2da218a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioblend/galaxy/quotas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def update_quota(
name: Optional[str] = None,
description: Optional[str] = None,
amount: Optional[str] = None,
operation: Optional[QuotaOperations] = None,
operation: Optional[QuotaOperations] = "=",
default: Optional[DefaultQuotaValues] = None,
in_users: Optional[List[str]] = None,
in_groups: Optional[List[str]] = None,
Expand Down

0 comments on commit 2da218a

Please sign in to comment.