Skip to content

Commit 3d0f22f

Browse files
add type hint
1 parent c24ed84 commit 3d0f22f

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
@@ -66,6 +66,7 @@ def _sentry_request_created(
6666

6767
client = sentry_sdk.get_client()
6868
span_streaming = has_span_streaming_enabled(client.options)
69+
span: "Union[Span, StreamedSpan]"
6970
if span_streaming:
7071
span = sentry_sdk.traces.start_span(
7172
name=description,

0 commit comments

Comments
 (0)