Skip to content

Commit

Permalink
Remove unused attributes
Browse files Browse the repository at this point in the history
Change-Id: Ied8acf39bd5f729ea71db7d885bc82a6b2b476d2
  • Loading branch information
si-23 committed Jul 29, 2024
1 parent e244012 commit f5d73bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions cmk/gui/graphing/_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This file is part of Checkmk (https://checkmk.com). It is subject to the terms and
# conditions defined in the file COPYING, which is part of this source code package.

from collections.abc import Callable, Sequence
from collections.abc import Sequence
from dataclasses import dataclass

from cmk.utils.metrics import MetricName
Expand Down Expand Up @@ -210,8 +210,6 @@ class MetricInfoExtended:
title: str | LazyString
unit: UnitInfo
color: str
help: str | LazyString | None = None
render: Callable[[float | int], str] | None = None


class MetricsFromAPI(Registry[MetricInfoExtended]):
Expand Down
2 changes: 0 additions & 2 deletions cmk/gui/graphing/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,6 @@ def _get_extended_metric_info(
title=mi["title"],
unit=unit_info[mi["unit"]],
color=parse_color_into_hexrgb(mi["color"]),
help=mi.get("help"),
render=mi.get("render"),
)


Expand Down

0 comments on commit f5d73bf

Please sign in to comment.