File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ def output(self) -> O:
377
377
# Handle concatenate iterators - return joined string
378
378
if _has_concatenate_iterator_output_type (self ._schema ):
379
379
if isinstance (self ._prediction .output , list ):
380
- return "" .join (str (item ) for item in self ._prediction .output )
380
+ return cast ( O , "" .join (str (item ) for item in self ._prediction .output ) )
381
381
return self ._prediction .output
382
382
383
383
# Process output for file downloads based on schema
@@ -544,7 +544,7 @@ async def output(self) -> O:
544
544
# Handle concatenate iterators - return joined string
545
545
if _has_concatenate_iterator_output_type (self ._schema ):
546
546
if isinstance (self ._prediction .output , list ):
547
- return "" .join (str (item ) for item in self ._prediction .output )
547
+ return cast ( O , "" .join (str (item ) for item in self ._prediction .output ) )
548
548
return self ._prediction .output
549
549
550
550
# Process output for file downloads based on schema
You can’t perform that action at this time.
0 commit comments