From 59a06b31facb73da4a9466eb3609aa0cc4c5dd2a Mon Sep 17 00:00:00 2001 From: beatrizsavinhas Date: Mon, 13 Jan 2025 15:08:55 +0100 Subject: [PATCH] Change CaseModel. --- cg/models/delivery_report/report.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cg/models/delivery_report/report.py b/cg/models/delivery_report/report.py index 1e2e216196..165fb1c46d 100644 --- a/cg/models/delivery_report/report.py +++ b/cg/models/delivery_report/report.py @@ -4,7 +4,7 @@ from typing_extensions import Annotated from cg.constants import NA_FIELD, REPORT_SUPPORTED_WORKFLOW -from cg.models.delivery_report.sample import ApplicationModel, SampleModel +from cg.models.delivery_report.sample import SampleModel from cg.models.delivery_report.validators import ( get_analysis_type_as_string, get_date_as_string, @@ -115,14 +115,14 @@ class CaseModel(BaseModel): id: case ID; source: StatusDB/family/internal_id samples: list of samples associated to a case/family data_analysis: workflow attributes - applications: case associated unique application tags + application_tags: case associated unique application tags """ name: Annotated[str, BeforeValidator(get_report_string)] = NA_FIELD id: Annotated[str, BeforeValidator(get_report_string)] = NA_FIELD samples: list[SampleModel] data_analysis: DataAnalysisModel - applications: list[ApplicationModel] + applications: list[str] class ReportModel(BaseModel):