Skip to content

Commit bda7c30

Browse files
committed
fixup!
1 parent 091ff78 commit bda7c30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/replicate/lib/_predictions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,6 @@ def output_iterator(prediction: Prediction, client: Replicate) -> Iterator[Any]:
215215
if prediction.status == "failed":
216216
raise ModelError(prediction=prediction)
217217

218-
output = prediction.output or [] # type: ignore
218+
output: list[Any] = prediction.output or [] # type: ignore
219219
new_output = output[len(previous_output) :]
220220
yield from new_output

0 commit comments

Comments
 (0)