Skip to content

Commit c79fe89

Browse files
docstring
1 parent e36a4d4 commit c79fe89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/integrations/anthropic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ async def _wrap_asynchronous_message_iterator(
487487
) -> "AsyncIterator[Union[RawMessageStreamEvent, MessageStreamEvent]]":
488488
"""
489489
Sets information received while iterating the response stream on the AI Client Span.
490-
Responsible for closing the AI Client Span, unless the span has already been closed in the close() patch.
490+
Responsible for closing the AI Client Span unless the span has already been closed in the close() patch.
491491
"""
492492
try:
493493
async for event in iterator:
@@ -851,7 +851,7 @@ def _wrap_async_close(
851851
f: "Callable[..., Awaitable[None]]",
852852
) -> "Callable[..., Awaitable[None]]":
853853
"""
854-
Closes the AI Client Span, unless the finally block in `_wrap_asynchronous_message_iterator()` runs first.
854+
Closes the AI Client Span unless the finally block in `_wrap_asynchronous_message_iterator()` runs first.
855855
"""
856856

857857
async def close(self: "AsyncStream") -> None:

0 commit comments

Comments
 (0)