From 894d39faa4cd2bd5646dfb8e85790a5d03bb56d4 Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Mon, 24 Nov 2025 09:06:00 -0300 Subject: [PATCH] SIENTIAPDE-1273 Refactor import statements in worker.py for improved organization - Moved the import of the os module to the appropriate section, enhancing clarity and consistency in the import structure. --- laborious/worker/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laborious/worker/worker.py b/laborious/worker/worker.py index 50d00cf..33384b0 100644 --- a/laborious/worker/worker.py +++ b/laborious/worker/worker.py @@ -43,7 +43,6 @@ Poller Configuration: - POLLER_INITIAL: Initial number of pollers (default: 2) """ -import os from temporalio import client, workflow from temporalio.runtime import PrometheusConfig, Runtime, TelemetryConfig @@ -80,6 +79,7 @@ with workflow.unsafe.imports_passed_through(): FormatAndExportPrediction, ) from laborious.workflows.sub_workflows.prediction_process import PredictionProcess + import os POD_ID = os.getenv('POD_ID') SDK_METRICS_PORT = int(os.getenv('HTTP_SDK_METRICS_PORT', '9091'))