Skip to content

Commit 2a853a4

Browse files
committed
let it fail loudly rather than silently
1 parent 33d6f1b commit 2a853a4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

sentry_sdk/tracing.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ def __init__(
309309
op=None, # type: Optional[str]
310310
description=None, # type: Optional[str]
311311
status=None, # type: Optional[str]
312-
sampled=None, # type: Optional[bool]
313312
start_timestamp=None, # type: Optional[Union[datetime, float]]
314313
origin=None, # type: Optional[str]
315314
name=None, # type: Optional[str]
@@ -318,14 +317,9 @@ def __init__(
318317
only_if_parent=False, # type: bool
319318
parent_span=None, # type: Optional[Span]
320319
otel_span=None, # type: Optional[OtelSpan]
321-
**_, # type: dict[str, object]
322320
):
323321
# type: (...) -> None
324322
"""
325-
For backwards compatibility with old the old Span interface, this class
326-
accepts arbitrary keyword arguments, in addition to the ones explicitly
327-
listed in the signature. These additional arguments are ignored.
328-
329323
If otel_span is passed explicitly, just acts as a proxy.
330324
331325
If only_if_parent is True, just return an INVALID_SPAN

0 commit comments

Comments
 (0)