Skip to content

Commit 241d5cf

Browse files
committed
Also make op part of public api
1 parent a538d2a commit 241d5cf

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

sentry_sdk/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"update_current_span",
5454
"SpanTemplate",
5555
"SpanAttr",
56+
"SpanOp",
5657
]
5758

5859
# Initialize the debug support after everything is loaded

sentry_sdk/api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
INSTRUMENTER,
99
SpanTemplate,
1010
SPANDATA as SpanAttr,
11+
OP as SpanOp,
1112
)
1213
from sentry_sdk.scope import Scope, _ScopeManager, new_scope, isolation_scope
1314
from sentry_sdk.tracing import NoOpSpan, Transaction, trace
@@ -92,6 +93,7 @@ def overload(x):
9293
"update_current_span",
9394
"SpanTemplate",
9495
"SpanAttr",
96+
"SpanOp",
9597
]
9698

9799

0 commit comments

Comments
 (0)