Skip to content

Commit

Permalink
feat: add streamable to TesInput
Browse files Browse the repository at this point in the history
  • Loading branch information
athith-g committed Jun 21, 2024
1 parent d5e059c commit 24c511e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pro_tes/ga4gh/tes/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,19 @@ class TesInput(CustomBaseModel):
' "url" must be ignored.'
),
)
streamable: Optional[bool] = Field(
default=None,
description=(
"Indicate that a file resource could be accessed using a"
" streaming interface, ie a FUSE mounted s3 object. This flag indicates"
" that using a streaming mount, as opposed to downloading the whole file"
" to the local scratch space, may be faster despite the latency"
" and overhead. This does not mean that the backend will use a"
" streaming interface, as it may not be provided by the vendor, but if"
" the capacity is avalible it can be used without degrading"
" the performance of the underlying program."
),
)


class TesOutput(CustomBaseModel):
Expand Down

0 comments on commit 24c511e

Please sign in to comment.