-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous types stated that all the arguments to `Output.all` should be of the same type, however you can pass through a list of mixed types. If `Output.all` returned a tuple isntead, we could provide overloads that returned a `Output[tuple[T1, T2, ...]]` with the precise types. With the return type being a list, we are limited to `List[Any]`.
- Loading branch information
Showing
2 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
...ding/20240515--sdk-python--relax-output-all-types-to-better-match-the-implementation.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
changes: | ||
- type: fix | ||
scope: sdk/python | ||
description: Relax Output.all types to better match the implementation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters