We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a6da66e + c988c26 commit 3009ba6Copy full SHA for 3009ba6
sentry_sdk/integrations/anthropic.py
@@ -413,10 +413,10 @@ def _wrap_synchronous_message_iterator(
413
414
415
async def _wrap_asynchronous_message_iterator(
416
- iterator: "Iterator[RawMessageStreamEvent]",
+ iterator: "AsyncIterator[RawMessageStreamEvent]",
417
span: "Span",
418
integration: "AnthropicIntegration",
419
-) -> "Iterator[RawMessageStreamEvent]":
+) -> "AsyncIterator[RawMessageStreamEvent]":
420
"""
421
Sets information received while iterating the response stream on the AI Client Span.
422
Responsible for closing the AI Client Span.
0 commit comments