Skip to content

Commit aba1b50

Browse files
committed
make private
1 parent 336b643 commit aba1b50

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sentry_sdk/scope.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
Baggage,
3131
has_tracing_enabled,
3232
has_span_streaming_enabled,
33-
make_sampling_decision,
33+
_make_sampling_decision,
3434
normalize_incoming_data,
3535
PropagationContext,
3636
)
@@ -1200,7 +1200,7 @@ def start_streamed_span(
12001200
if parent_span is None:
12011201
propagation_context = self.get_active_propagation_context()
12021202

1203-
sampled, sample_rate, sample_rand, outcome = make_sampling_decision(
1203+
sampled, sample_rate, sample_rand, outcome = _make_sampling_decision(
12041204
name,
12051205
attributes,
12061206
self,

sentry_sdk/tracing_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ def add_sentry_baggage_to_headers(
13821382
)
13831383

13841384

1385-
def make_sampling_decision(
1385+
def _make_sampling_decision(
13861386
name: str,
13871387
attributes: "Optional[Attributes]",
13881388
scope: "sentry_sdk.Scope",

0 commit comments

Comments
 (0)