diff --git a/orchestrator/worker/worker.py b/orchestrator/worker/worker.py index 8943b03..fbce72c 100644 --- a/orchestrator/worker/worker.py +++ b/orchestrator/worker/worker.py @@ -1,14 +1,11 @@ from temporalio import client, workflow from temporalio.runtime import PrometheusConfig, Runtime, TelemetryConfig -from temporalio.worker import Worker with workflow.unsafe.imports_passed_through(): import asyncio import os import sys - from orchestrator.worker.prepare_worker import prepare_worker - from prometheus_client import start_http_server from sientia_do.notifications.handlers import CoreNotificationHandler as NotificationHandler from sientia_do.observability.logger import get_logger @@ -22,6 +19,7 @@ with workflow.unsafe.imports_passed_through(): build_redis_config, build_temporal_config, ) + from orchestrator.worker.prepare_worker import prepare_worker from orchestrator.workflows.alerts import Alerts from orchestrator.workflows.orchestrator import Orchestrator from orchestrator.workflows.reports import Reports