Skip to content

Commit 6824251

Browse files
committed
adjust typing to just be Any for PredictionOutput
1 parent eaf0a07 commit 6824251

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed
Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from typing import Dict, List, Union, Optional
3+
from typing import Any
44
from typing_extensions import TypeAlias
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
9-
PredictionOutput: TypeAlias = Union[
10-
Optional[Dict[str, object]],
11-
Optional[List[Dict[str, object]]],
12-
Optional[List[str]],
13-
Optional[str],
14-
Optional[float],
15-
Optional[bool],
16-
]
8+
# todo: this shouldn't need to be custom code. We should update the spec to just be {type: object}
9+
PredictionOutput: TypeAlias = Any

0 commit comments

Comments
 (0)