Skip to content

Commit

Permalink
fix: change example to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
athith-g committed Jul 9, 2024
1 parent 23c3c6b commit 64248f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pro_tes/ga4gh/tes/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class TesOutput(CustomBaseModel):
" absolute path."
),
)
type: Optional[TesFileType] = "FILE"
type: Optional[TesFileType] = TesFileType.FILE


class TesOutputFileLog(CustomBaseModel):
Expand Down Expand Up @@ -324,7 +324,7 @@ class TesResources(CustomBaseModel):
' etc. \nExample: ```\n{\n "backend_parameters" : {\n '
'"VmSize" :"Standard_D64_v3"\n }\n}\n```'
),
example={"VmSize": "Standard_D64_v3"},
examples=[{"VmSize": "Standard_D64_v3"}],
)
backend_parameters_strict: Optional[bool] = Field(
default=False,
Expand All @@ -333,7 +333,7 @@ class TesResources(CustomBaseModel):
" backend_parameters key/values are unsupported, otherwise, "
"backends should attempt to run the task"
),
example=False,
examples=[False],
)


Expand Down

0 comments on commit 64248f2

Please sign in to comment.