Skip to content

Commit 25aecdf

Browse files
committed
Update stubs
1 parent f2554a8 commit 25aecdf

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

python/lib/sift_client/resources/sync_stubs/__init__.pyi

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ class RulesAPI:
894894
"""
895895
...
896896

897-
def batch_update_rules(
897+
def batch_update_or_create_rules(
898898
self,
899899
rules: Sequence[RuleCreate | RuleUpdate],
900900
*,
@@ -906,6 +906,9 @@ class RulesAPI:
906906
rules: List of rule creates or updates to apply. RuleUpdate objects must have resource_id set.
907907
override_expression_validation: When true, the rules will be created even if the expressions are invalid.
908908
909+
Warnings:
910+
UserWarning: If not all rules are created or updated.
911+
909912
Returns:
910913
List of updated or created Rules.
911914
@@ -926,6 +929,9 @@ class RulesAPI:
926929
create: A RuleCreate object, a dictionary with configuration for the new rule, or a list of the previously mentioned objects.
927930
override_expression_validation: When true, the rule will be created even if the expression is invalid.
928931
932+
Warnings:
933+
SiftWarning: If not all rules are created.
934+
929935
Returns:
930936
The created Rule (if a single dictionary or RuleCreate was provided) otherwise a list of the created rules.
931937
"""

0 commit comments

Comments
 (0)