Skip to content

Commit

Permalink
precommit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorwalton committed Jul 14, 2023
1 parent cca655f commit 85e7cfe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions backend/app/routes/influxdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def get_check_query(check_id: str) -> jsonify:
check_query = service.collect_check_query(check_id)
return jsonify(check_query)


@bp.route("/influxdb/alerts", methods=["GET"])
def get_alerts() -> jsonify:
"""
Expand All @@ -56,6 +57,7 @@ def get_alerts() -> jsonify:
alerts = service.collect_alerts()
return jsonify(alerts)


@bp.route("/influxdb/alert", methods=["POST"])
def put_alert() -> jsonify:
"""
Expand Down
4 changes: 3 additions & 1 deletion backend/app/services/InfluxDB/alerts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from typing import Dict, Union, List
from typing import Dict
from typing import List
from typing import Union

import requests
from loguru import logger
Expand Down

0 comments on commit 85e7cfe

Please sign in to comment.