Skip to content

Commit 370e365

Browse files
committed
add test errors
1 parent 0556a0f commit 370e365

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assemblyai/extras.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def stream_file(
115115
time.sleep(chunk_duration)
116116

117117

118-
def file_from_stream(data: BinaryIO) -> str:
118+
def file_from_stream(data: BinaryIO) -> float:
119119
"""
120120
DeprecationWarning: `file_from_stream()` is deprecated and will be removed in 1.0.0. Use `Transcriber.upload_file()` instead.
121121
@@ -143,4 +143,4 @@ def file_from_stream(data: BinaryIO) -> str:
143143
return api.upload_file(
144144
client=Client.get_default().http_client,
145145
audio_file=data,
146-
)
146+
)

0 commit comments

Comments
 (0)