From 2ade08c916e33d627b9212ae6723827619033955 Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Wed, 20 Aug 2025 14:58:15 -0300 Subject: [PATCH] SIENTIAPDE-1199 refactor: remove unused schedule_handles attribute from TemporalManager - Eliminated the schedule_handles dictionary from the TemporalManager class as it was no longer needed. - Cleaned up related code to ensure proper functionality without the removed attribute. --- orchestrator/activities/temporal_manager.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/orchestrator/activities/temporal_manager.py b/orchestrator/activities/temporal_manager.py index 3c9e93a..7e03a8b 100644 --- a/orchestrator/activities/temporal_manager.py +++ b/orchestrator/activities/temporal_manager.py @@ -27,11 +27,6 @@ class TemporalManager(BaseActivity): self.laborious_namespace = laborious_namespace self.temporal_clients = {} - self.schedule_handles = { - self.scouter_namespace: {}, - self.laborious_namespace: {} - } - self.model_id_id_key = SearchAttributeKey.for_keyword("model_id") self.model_name_id_key = SearchAttributeKey.for_keyword("model_name") self.orchestrated_id_key = SearchAttributeKey.for_keyword( @@ -352,8 +347,6 @@ class TemporalManager(BaseActivity): await handler.delete() - del self.schedule_handles[namespace][schedule_name] - report.append({ "namespace": namespace, "schedule_name": schedule_name,