From afacbc14609d61ff95d2ef5e9aee8c6a40025d05 Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Thu, 6 Mar 2025 12:20:17 +0100 Subject: [PATCH] refactor(alerts): refactored code --- api/chalicelib/core/alerts/alerts_processor_ch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/chalicelib/core/alerts/alerts_processor_ch.py b/api/chalicelib/core/alerts/alerts_processor_ch.py index 316c0f166..c8ea00c2c 100644 --- a/api/chalicelib/core/alerts/alerts_processor_ch.py +++ b/api/chalicelib/core/alerts/alerts_processor_ch.py @@ -3,10 +3,10 @@ import logging from pydantic_core._pydantic_core import ValidationError import schemas -from chalicelib.core.alerts import alerts, alerts_listener -from chalicelib.core.alerts.modules import sessions, alert_helpers from chalicelib.utils import pg_client, ch_client, exp_ch_helper from chalicelib.utils.TimeUTC import TimeUTC +from . import alerts, alerts_listener +from .modules import sessions, alert_helpers logger = logging.getLogger(__name__)