We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9c4b8c commit ad4da10Copy full SHA for ad4da10
1 file changed
src/replicate/lib/_predictions.py
@@ -215,6 +215,6 @@ def output_iterator(prediction: Prediction, client: Replicate) -> Iterator[Any]:
215
if prediction.status == "failed":
216
raise ModelError(prediction=prediction)
217
218
- output: list[Any] = prediction.output or [] # type: ignore[union-attr]
+ output: list[Any] = prediction.output or [] # type: ignore
219
new_output = output[len(previous_output) :]
220
yield from new_output
0 commit comments