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:
377377 # Handle concatenate iterators - return joined string
378378 if _has_concatenate_iterator_output_type (self ._schema ):
379379 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 ) )
381381 return self ._prediction .output
382382
383383 # Process output for file downloads based on schema
@@ -544,7 +544,7 @@ async def output(self) -> O:
544544 # Handle concatenate iterators - return joined string
545545 if _has_concatenate_iterator_output_type (self ._schema ):
546546 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 ) )
548548 return self ._prediction .output
549549
550550 # Process output for file downloads based on schema
You can’t perform that action at this time.
0 commit comments