SIENTIAPDE-1478

Update coverage source in pyproject.toml, add testcontainers for PostgreSQL in requirements-dev.txt, increment image tag and adjust probe delays in values.yaml, and refine condition checks in format_and_export_prediction.py and mlflow.py. Additionally, enhance test coverage in test_gates.py.
This commit is contained in:
vitor-aignosi
2026-01-14 16:01:03 -03:00
parent 34e8cce282
commit 63017754a8
13 changed files with 3001 additions and 8 deletions

View File

@@ -162,7 +162,7 @@ class FormatAndExportPrediction:
opc_metrics = {}
# write to pi web api
if pi_web_api_output_config is not None:
if pi_web_api_output_config:
prediction = await workflow.execute_activity_method(
Activities.write_pi_web_api_data,
{
@@ -175,7 +175,7 @@ class FormatAndExportPrediction:
)
# write to opc
if opc_output_config is not None:
if opc_output_config:
prediction, opc_metrics = await workflow.execute_activity_method(
Activities.write_opc_data,
{