Skip to content

Commit 408cb09

Browse files
Update linode_api4/groups/monitor.py
Co-authored-by: Zhiwei Liang <121905282+zliang-akamai@users.noreply.github.com>
1 parent 1d8d47c commit 408cb09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

linode_api4/groups/monitor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ def create_alert_definition(
217217
label: str,
218218
severity: int,
219219
channel_ids: list[int],
220-
rule_criteria: dict = None,
221-
trigger_conditions: dict = None,
220+
rule_criteria: Optional[dict] = None,
221+
trigger_conditions: Optional[dict] = None,
222222
entity_ids: Optional[list[str]] = None,
223223
description: Optional[str] = None,
224224
) -> AlertDefinition:

0 commit comments

Comments
 (0)