From e14b9bb97151d9a93f5c6e047b68573d9f49574f Mon Sep 17 00:00:00 2001 From: Javed Habib Date: Thu, 19 Dec 2024 20:39:57 +0530 Subject: [PATCH] chore: mypy errors --- pro_tes/ga4gh/tes/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pro_tes/ga4gh/tes/models.py b/pro_tes/ga4gh/tes/models.py index a9bdb2c..6aa1e92 100644 --- a/pro_tes/ga4gh/tes/models.py +++ b/pro_tes/ga4gh/tes/models.py @@ -38,7 +38,7 @@ class TesCreateTaskResponse(CustomBaseModel): class TesExecutor(CustomBaseModel): image: str = Field( - default=[""], + default="", description=( "Name of the container image. The string will be passed as " " the image\nargument to the containerization run command. " @@ -626,7 +626,7 @@ class TesTask(CustomBaseModel): ) resources: Optional[TesResources] = None executors: list[TesExecutor] = Field( - default=[TesExecutor], + default=[TesExecutor()], description=( "An array of executors to be run. Each of the executors " " will run one\nat a time sequentially. Each executor is a"