Skip to content

Commit 367e607

Browse files
committed
.
1 parent 68c57a5 commit 367e607

6 files changed

Lines changed: 7 additions & 9 deletions

File tree

‎sentry_sdk/integrations/aiohttp.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
from sentry_sdk.sessions import track_session
2323
from sentry_sdk.traces import (
2424
SegmentNameSource,
25-
SpanStatus,
2625
Span,
26+
SpanStatus,
2727
)
2828
from sentry_sdk.tracing import (
2929
BAGGAGE_HEADER_NAME,

‎sentry_sdk/integrations/chalice.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
from sentry_sdk.integrations.aws_lambda import _make_request_event_processor
88
from sentry_sdk.traces import (
99
SegmentNameSource,
10-
SpanStatus,
1110
Span,
11+
SpanStatus,
1212
)
1313
from sentry_sdk.utils import (
1414
capture_internal_exceptions,

‎sentry_sdk/integrations/huey.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from sentry_sdk.consts import OP, SPANDATA
88
from sentry_sdk.integrations import DidNotEnable, Integration, _check_minimum_version
99
from sentry_sdk.scope import should_send_default_pii
10-
from sentry_sdk.traces import SegmentNameSource, SpanStatus, Span
10+
from sentry_sdk.traces import SegmentNameSource, Span, SpanStatus
1111
from sentry_sdk.tracing import (
1212
BAGGAGE_HEADER_NAME,
1313
SENTRY_TRACE_HEADER_NAME,

‎sentry_sdk/integrations/openai_agents/spans/execute_tool.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import sentry_sdk
44
from sentry_sdk.consts import OP, SPANDATA
55
from sentry_sdk.scope import should_send_default_pii
6-
from sentry_sdk.traces import SpanStatus, Span
6+
from sentry_sdk.traces import Span, SpanStatus
77
from sentry_sdk.utils import has_data_collection_enabled
88

99
from ..consts import SPAN_ORIGIN

‎sentry_sdk/integrations/sqlalchemy.py‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from sentry_sdk.consts import SPANDATA
22
from sentry_sdk.integrations import DidNotEnable, Integration, _check_minimum_version
3-
from sentry_sdk.traces import SpanStatus, Span
3+
from sentry_sdk.traces import Span, SpanStatus
44
from sentry_sdk.tracing_utils import (
55
add_query_source,
66
record_sql_queries,
@@ -93,9 +93,7 @@ def _handle_error(context: "Any", *args: "Any") -> None:
9393
if execution_context is None:
9494
return
9595

96-
span: "Optional[Span]" = getattr(
97-
execution_context, "_sentry_sql_span", None
98-
)
96+
span: "Optional[Span]" = getattr(execution_context, "_sentry_sql_span", None)
9997

10098
if span is not None:
10199
span.status = SpanStatus.ERROR

‎tests/tracing/test_span_streaming.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
from sentry_sdk.profiler.continuous_profiler import get_profiler_id
1010
from sentry_sdk.traces import (
1111
NoOpSpan,
12-
SpanStatus,
1312
Span,
13+
SpanStatus,
1414
)
1515

1616
minimum_python_38 = pytest.mark.skipif(

0 commit comments

Comments
 (0)