Skip to content

Commit 47c2931

Browse files
committed
remove deprecation
1 parent acace3d commit 47c2931

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ddtrace/_trace/span.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,6 @@ def finished(self, value: bool) -> None:
276276
If the span is already finished and a truthy value is provided
277277
no action will occur.
278278
"""
279-
deprecate(
280-
prefix="The finished setter is deprecated",
281-
message="""Use the finish() method to finish a span.""",
282-
category=DDTraceDeprecationWarning,
283-
removal_version="4.0.0",
284-
)
285279
if value:
286280
if not self.finished:
287281
self.duration_ns = Time.time_ns() - self.start_ns
@@ -610,8 +604,6 @@ def record_exception(
610604
:param attributes: Optional dictionary of additional attributes to add to the exception event.
611605
These attributes will override the default exception attributes if they contain the same keys.
612606
Valid attribute values include (homogeneous array of) strings, booleans, integers, floats.
613-
:param timestamp: Deprecated.
614-
:param escaped: Deprecated.
615607
"""
616608
tb = self._get_traceback(type(exception), exception, exception.__traceback__)
617609

0 commit comments

Comments
 (0)