We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9f34c5 commit 1804f7cCopy full SHA for 1804f7c
src/replicate/types/prediction_output.py
@@ -5,6 +5,7 @@
5
6
__all__ = ["PredictionOutput"]
7
8
+# todo: this shouldn't need to be custom code. We should update the spec to include the `Optional[List[str]]` type
9
PredictionOutput: TypeAlias = Union[
- 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]
11
]
0 commit comments