Skip to content

Commit edbd2ea

Browse files
comment
1 parent 273bd71 commit edbd2ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sentry_sdk/integrations/opentelemetry/span_processor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def __new__(cls) -> "SentrySpanProcessor":
8686
if not hasattr(cls, "instance"):
8787
cls.instance = super().__new__(cls)
8888

89+
# "instance" class attribute is guaranteed to be set above (mypy believes instance is an instance-only attribute).
8990
return cls.instance # type: ignore[misc]
9091

9192
def __init__(self) -> None:

0 commit comments

Comments
 (0)