Skip to content

Commit a655dca

Browse files
committed
Add property
1 parent 6a85f5e commit a655dca

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

sentry_sdk/traces.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ def name(self) -> str:
148148
def name(self, name: str) -> None:
149149
self._name = name
150150

151+
@property
152+
def active(self) -> bool:
153+
return self._active
154+
151155
@property
152156
def span_id(self) -> str:
153157
if not self._span_id:

0 commit comments

Comments
 (0)