Skip to content

Commit 6fc2287

Browse files
committed
fix: Make traces_sample_rate non-nullable again
1 parent 1d75da5 commit 6fc2287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def __init__(
7272
attach_stacktrace=False, # type: bool
7373
ca_certs=None, # type: Optional[str]
7474
propagate_traces=True, # type: bool
75-
traces_sample_rate=None, # type: Optional[float]
75+
traces_sample_rate=0.0, # type: float
7676
traces_sampler=None, # type: Optional[TracesSampler]
7777
auto_enabling_integrations=True, # type: bool
7878
_experiments={}, # type: Experiments # noqa: B006

0 commit comments

Comments
 (0)