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.
This commit is contained in:
vitor-aignosi
2025-08-20 14:58:15 -03:00
parent 02243a1e22
commit 2ade08c916

View File

@@ -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,