Skip to content

Commit

Permalink
added missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
seanshahkarami committed May 5, 2022
1 parent 6254ac7 commit bad278a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion rollup_health_and_sanity_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import logging
import sage_data_client
from typing import NamedTuple
from utils import load_node_table, parse_time, get_rollup_range, time_windows, write_results_to_influxdb
from utils import load_node_table, parse_time, get_rollup_range, time_windows, write_results_to_influxdb, check_publishing_frequency


sys_from_nxcore = {
Expand Down
3 changes: 0 additions & 3 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def check_publishing_frequency(df, freq, window):
return total_samples / expected_samples



class Node(NamedTuple):
id: str
vsn: str
Expand Down Expand Up @@ -99,5 +98,3 @@ def get_rollup_range(start, end, now=None):
if now is None:
now = pd.to_datetime("now", utc=True)
return start.floor("1h"), end.floor("1h")


0 comments on commit bad278a

Please sign in to comment.