Skip to content

Commit c988c26

Browse files
fix type
1 parent bd00e4e commit c988c26

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sentry_sdk/integrations/anthropic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,10 +390,10 @@ def _wrap_synchronous_message_iterator(
390390

391391

392392
async def _wrap_asynchronous_message_iterator(
393-
iterator: "Iterator[RawMessageStreamEvent]",
393+
iterator: "AsyncIterator[RawMessageStreamEvent]",
394394
span: "Span",
395395
integration: "AnthropicIntegration",
396-
) -> "Iterator[RawMessageStreamEvent]":
396+
) -> "AsyncIterator[RawMessageStreamEvent]":
397397
"""
398398
Sets information received while iterating the response stream on the AI Client Span.
399399
Responsible for closing the AI Client Span.

0 commit comments

Comments
 (0)