Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Newton <[email protected]>
  • Loading branch information
Tom-Newton committed Apr 19, 2024
1 parent 0806d57 commit a0ff6e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
10 changes: 4 additions & 6 deletions stats/flyteadmin.dashboard.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import typing
from grafanalib.core import (
Alert, AlertCondition, Dashboard, Graph,
GreaterThan, OP_AND, OPS_FORMAT, Row, RTYPE_SUM, SECONDS_FORMAT,
SHORT_FORMAT, single_y_axis, Target, TimeRange, YAxes, YAxis,
DataSourceInput, MILLISECONDS_FORMAT, BarGauge
)

from grafanalib.core import (MILLISECONDS_FORMAT, OPS_FORMAT, SHORT_FORMAT,
BarGauge, Dashboard, DataSourceInput, Graph, Row,
Target, YAxes, YAxis, single_y_axis)

# ------------------------------
# For Gostats we recommend using
Expand Down
7 changes: 3 additions & 4 deletions stats/flytepropeller.dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

from grafanalib.core import (MILLISECONDS_FORMAT, NO_FORMAT, OPS_FORMAT,
PERCENT_FORMAT, SECONDS_FORMAT, SHORT_FORMAT,
BarGauge, Dashboard, DataSourceInput, Gauge,
Graph, Row, Stat, Target, YAxes, YAxis,
single_y_axis)
BarGauge, Dashboard, DataSourceInput, Graph, Row,
Target, YAxes, YAxis, single_y_axis)

# ------------------------------
# For Gostats we recommend using
Expand Down Expand Up @@ -137,7 +136,7 @@ def streak_rate() -> Graph:
YAxis(format=SHORT_FORMAT),
),
)

@staticmethod
def round_rates() -> Graph:
return Graph(
Expand Down

0 comments on commit a0ff6e4

Please sign in to comment.