SIENTIAPDE-1312

Update tests notebook execution count and bump image tag in values.yaml

- Incremented the execution count in the tests notebook for accurate tracking.
- Updated the image tag in values.yaml from "0.0.3" to "1.0.1" for versioning consistency.
- Enhanced error handling in model_repository.py to ensure proper retrieval of created experiments.
This commit is contained in:
vitor-aignosi
2025-10-21 14:32:35 -03:00
parent 461a885eeb
commit 4c1e9008ab
2 changed files with 5 additions and 2 deletions

View File

@@ -175,7 +175,10 @@ class MLFlowRepository:
if experiment is None:
if create_if_not_exists:
experiment = mlflow.create_experiment(experiment_name)
experiment_id = mlflow.create_experiment(experiment_name)
experiment = mlflow.get_experiment(experiment_id)
if experiment is None:
raise ValueError(f'Experiment {experiment_name} not found after creation, unknown reason')
else:
raise ValueError(f'Experiment {experiment_name} not found')