Skip to content

Commit 185cc15

Browse files
committed
fix type signature
1 parent c18cdf0 commit 185cc15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/opentelemetry/sampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def sampled_result(span_context, attributes, sample_rate=None, sample_rand=None)
152152

153153

154154
def _update_trace_state(span_context, sampled, sample_rate=None, sample_rand=None):
155-
# type: (..., bool, Optional[float], Optional[Decimal]) -> TraceState
155+
# type: (SpanContext, bool, Optional[float], Optional[Decimal]) -> TraceState
156156
trace_state = span_context.trace_state
157157

158158
sampled = "true" if sampled else "false"

0 commit comments

Comments
 (0)