Skip to content

Commit a656540

Browse files
committed
.
1 parent 52cd46d commit a656540

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sentry_sdk/scope.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -857,9 +857,6 @@ def set_transaction_name(self, name: str, source: "Optional[str]" = None) -> Non
857857
if source:
858858
self._transaction_info["source"] = source
859859

860-
if source:
861-
self._transaction_info["source"] = source
862-
863860
@_attr_setter
864861
def user(self, value: "Optional[Dict[str, Any]]") -> None:
865862
"""When set a specific user is bound to the scope. Deprecated in favor of set_user."""

sentry_sdk/tracing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,9 @@ def _set_initial_sampling_decision(
12491249
)
12501250
)
12511251

1252+
# Private aliases matching StreamedSpan's private API
12521253
_get_baggage = get_baggage
1254+
_get_trace_context = get_trace_context
12531255

12541256

12551257
class NoOpSpan(Span):

sentry_sdk/tracing_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,6 +1604,7 @@ def _matches(rule: "Any", value: "Any") -> bool:
16041604
BAGGAGE_HEADER_NAME,
16051605
LOW_QUALITY_TRANSACTION_SOURCES,
16061606
SENTRY_TRACE_HEADER_NAME,
1607+
Span,
16071608
)
16081609
from sentry_sdk.traces import (
16091610
LOW_QUALITY_SEGMENT_SOURCES,

0 commit comments

Comments
 (0)