Skip to content

Commit a538d2a

Browse files
committed
Make some consts public
1 parent 35e7809 commit a538d2a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

sentry_sdk/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
"end_session",
5252
"set_transaction_name",
5353
"update_current_span",
54+
"SpanTemplate",
55+
"SpanAttr",
5456
]
5557

5658
# Initialize the debug support after everything is loaded

sentry_sdk/api.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44

55
from sentry_sdk import tracing_utils, Client
66
from sentry_sdk._init_implementation import init
7-
from sentry_sdk.consts import INSTRUMENTER
7+
from sentry_sdk.consts import ( # noqa: N811
8+
INSTRUMENTER,
9+
SpanTemplate,
10+
SPANDATA as SpanAttr,
11+
)
812
from sentry_sdk.scope import Scope, _ScopeManager, new_scope, isolation_scope
913
from sentry_sdk.tracing import NoOpSpan, Transaction, trace
1014
from sentry_sdk.crons import monitor
@@ -86,6 +90,8 @@ def overload(x):
8690
"end_session",
8791
"set_transaction_name",
8892
"update_current_span",
93+
"SpanTemplate",
94+
"SpanAttr",
8995
]
9096

9197

0 commit comments

Comments
 (0)