From 982bff2c033cceae5fbd184d46c2e422b9b8a8dc Mon Sep 17 00:00:00 2001 From: belthlemar Date: Fri, 19 Jul 2024 16:58:14 +0200 Subject: [PATCH] a --- antarest/study/storage/variantstudy/variant_study_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antarest/study/storage/variantstudy/variant_study_service.py b/antarest/study/storage/variantstudy/variant_study_service.py index 22c2f9113f..5216021e54 100644 --- a/antarest/study/storage/variantstudy/variant_study_service.py +++ b/antarest/study/storage/variantstudy/variant_study_service.py @@ -570,7 +570,7 @@ def generate_task( denormalize: bool = False, from_scratch: bool = False, ) -> str: - sanitized_study_id = metadata.id.strip() + sanitized_study_id: str = metadata.id.strip() with FileLock(str(self.config.storage.tmp_dir / f"study-generation-{metadata.id}.lock")): logger.info(f"Starting variant study {sanitized_study_id} generation") self.repository.refresh(metadata)