Skip to content

Commit 4cadf25

Browse files
add variable declaration
1 parent 9424125 commit 4cadf25

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sentry_sdk/integrations/boto3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ def _sentry_after_call(
125125
if not isinstance(body, StreamingBody):
126126
return
127127

128+
streaming_span: "Union[Span, StreamedSpan]"
128129
if isinstance(span, StreamedSpan):
129130
streaming_span = sentry_sdk.traces.start_span(
130131
name=span.name,

0 commit comments

Comments
 (0)