Skip to content

Commit

Permalink
chore: type fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
niliayu committed Oct 14, 2024
1 parent 98631a5 commit 275366c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lib/sift_py/ingestion/config/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ def _from_yaml(
)

for rule in config_as_yaml.get("rules", []):
namespace = rule.get("namespace")
namespace = rule.get("namespace", "")

action: Optional[RuleAction] = None
description: Optional[str] = ""
description: str = ""
if not namespace:
annotation_type = RuleActionAnnotationKind.from_str(rule["type"])
tags = rule.get("tags")
Expand Down

0 comments on commit 275366c

Please sign in to comment.