From 958eddc5a07f1598f69267efb2a55cc4d2e0bf90 Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Wed, 26 Apr 2023 15:25:47 +0000
Subject: [PATCH] Common - Method Wrappers:

- Reverted change to prevent conflict
---
 src/common/method_wrappers/Decorator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/method_wrappers/Decorator.py b/src/common/method_wrappers/Decorator.py
index 197378dad..98ade3fc0 100644
--- a/src/common/method_wrappers/Decorator.py
+++ b/src/common/method_wrappers/Decorator.py
@@ -76,7 +76,7 @@ class MetricsPool:
 
     def get_metrics(
         self, method : str, labels : Optional[Dict[str, str]] = None
-    ) -> Tuple[Histogram, Counter, Counter, Counter]:
+    ) -> Tuple[MetricWrapperBase, MetricWrapperBase, MetricWrapperBase, MetricWrapperBase]:
         histogram_duration : Histogram = self.get_or_create(method, MetricTypeEnum.HISTOGRAM_DURATION)
         counter_started    : Counter   = self.get_or_create(method, MetricTypeEnum.COUNTER_STARTED)
         counter_completed  : Counter   = self.get_or_create(method, MetricTypeEnum.COUNTER_COMPLETED)
-- 
GitLab