Skip to content

Commit 1804f7c

Browse files
committed
temp fix to generated type
1 parent c9f34c5 commit 1804f7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/replicate/types/prediction_output.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
__all__ = ["PredictionOutput"]
77

8+
# todo: this shouldn't need to be custom code. We should update the spec to include the `Optional[List[str]]` type
89
PredictionOutput: TypeAlias = Union[
9-
Optional[Dict[str, object]], Optional[List[Dict[str, object]]], Optional[str], Optional[float], Optional[bool]
10+
Optional[Dict[str, object]], Optional[List[Dict[str, object]]], Optional[List[str]], Optional[str], Optional[float], Optional[bool]
1011
]

0 commit comments

Comments
 (0)