Skip to content

Commit 6564e59

Browse files
vdicedicej
andauthored
Update src/spin_sdk/util.py
Co-authored-by: Joel Dice <joel.dice@akamai.com>
1 parent 5c8dfdc commit 6564e59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/spin_sdk/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
async def collect(tuple: Tuple[StreamReader[T], FutureReader[Result[None, E]]]) -> List[T]:
1212
"""
1313
Collect all items from the StreamReader portion of the provided Tuple and return them in a List,
14-
verifying the FutureReader result upon stream completion.
14+
verifying the FutureReader result upon stream completion and, if it is error, raising it as an exception.
1515
"""
1616
stream = tuple[0]
1717
future = tuple[1]

0 commit comments

Comments
 (0)