Skip to content

Commit e42f7b1

Browse files
add return type
1 parent 26422ab commit e42f7b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry_sdk/integrations/openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def _calculate_streaming_responses_token_usage(
229229
span: "Span",
230230
streaming_message_responses: "Optional[List[str]]",
231231
count_tokens: "Callable[..., Any]",
232-
):
232+
) -> None:
233233
"""
234234
Sets token attribute for streaming Responses calls.
235235
Sets token usage if available in the response object, or computes the usage for textual input and output with tiktoken.

0 commit comments

Comments
 (0)