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.
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user