We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 273bd71 commit edbd2eaCopy full SHA for edbd2ea
sentry_sdk/integrations/opentelemetry/span_processor.py
@@ -86,6 +86,7 @@ def __new__(cls) -> "SentrySpanProcessor":
86
if not hasattr(cls, "instance"):
87
cls.instance = super().__new__(cls)
88
89
+ # "instance" class attribute is guaranteed to be set above (mypy believes instance is an instance-only attribute).
90
return cls.instance # type: ignore[misc]
91
92
def __init__(self) -> None:
0 commit comments