diff options
author | Tibor Frank <tifrank@cisco.com> | 2022-10-25 10:04:48 +0200 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2023-01-27 08:37:53 +0000 |
commit | 2048e7bdd4dbcb7993332aaa015b8674f253d177 (patch) | |
tree | 81ba755f604c53b80f6296177f9901542fe54290 /csit.infra.dash/app/cdash/utils/trigger.py | |
parent | 684c0fa52e7a47289cd2e76786be977e0839238e (diff) |
C-Dash: Add telemetry panel
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Change-Id: Idee88c1da9bebd433fa47f5d983d432c54b5fbae
(cherry picked from commit 4d03dd53c2d77bf2e35a07ed3a5a95f323c3a370)
Diffstat (limited to 'csit.infra.dash/app/cdash/utils/trigger.py')
-rw-r--r-- | csit.infra.dash/app/cdash/utils/trigger.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/csit.infra.dash/app/cdash/utils/trigger.py b/csit.infra.dash/app/cdash/utils/trigger.py index 60ef9a3f91..ac303b6b0b 100644 --- a/csit.infra.dash/app/cdash/utils/trigger.py +++ b/csit.infra.dash/app/cdash/utils/trigger.py @@ -14,6 +14,8 @@ """A module implementing the processing of a trigger. """ +from typing import Any + from json import loads, JSONDecodeError @@ -51,7 +53,7 @@ class Trigger: return self._id["type"] @property - def idx(self) -> any: + def idx(self) -> Any: return self._id["index"] @property @@ -59,5 +61,5 @@ class Trigger: return self._param @property - def value(self) -> any: + def value(self) -> Any: return self._val |