File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 55* Added `` offset `` parameter to `` InvocationClient.get_invocations() `` and
66 BioBlend.objects `` ObjInvocationClient.list() `` methods.
77
8+ * Added `` quota_source_label `` parameter to `` QuotaClient.create_quota() ``
9+ (thanks to [ Matthias Bernt] ( https://github.com/bernt-matthias ) ).
10+
811* Added `` style `` parameter to `` WorkflowClient.export_workflow_dict() `` method
912 (thanks to [ Marius van den Beek] ( https://github.com/mvdbeek ) ).
1013
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ def create_quota(
8282 default : Optional [DefaultQuotaValues ] = "no" ,
8383 in_users : Optional [list [str ]] = None ,
8484 in_groups : Optional [list [str ]] = None ,
85+ quota_source_label : Optional [str ] = None ,
8586 ) -> dict [str , Any ]:
8687 """
8788 Create a new quota
@@ -109,6 +110,10 @@ def create_quota(
109110 :type in_groups: list of str
110111 :param in_groups: A list of group IDs or names.
111112
113+ :type quota_source_label: str
114+ :param quota_source_label: If set, quota source label to apply this
115+ quota operation to. Otherwise, the default quota is used.
116+
112117 :rtype: dict
113118 :return: A description of quota.
114119 For example::
@@ -125,6 +130,7 @@ def create_quota(
125130 "amount" : amount ,
126131 "operation" : operation ,
127132 "default" : default ,
133+ "quota_source_label" : quota_source_label ,
128134 }
129135 if in_users :
130136 payload ["in_users" ] = in_users
You can’t perform that action at this time.
0 commit comments