Skip to content

Commit

Permalink
alert_name
Browse files Browse the repository at this point in the history
  • Loading branch information
JackZhao516 committed Jan 10, 2025
1 parent bea6104 commit 5c3759a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions smrti_quant_alerts/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def run_alert(alert_name: str, alert_class: Callable) -> None:

def task():
config.reload_settings()
config.SETTINGS[alert_name]["alert_input_args"]["alert_name"] = alert_name
alert = alert_class(**config.SETTINGS[alert_name]["alert_input_args"])
return alert.run

Expand Down

0 comments on commit 5c3759a

Please sign in to comment.