Skip to content

Commit 1acb4d0

Browse files
.
1 parent ba09279 commit 1acb4d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sentry_sdk/integrations/openai_agents/patches/error_tracing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
from functools import wraps
22

33
import sentry_sdk
4+
from sentry_sdk.consts import SPANSTATUS
45
from sentry_sdk.tracing_utils import set_span_errored
56
from ..utils import _record_exception_on_span
67

78
from typing import TYPE_CHECKING
89

910
if TYPE_CHECKING:
10-
from typing import Any
11+
from typing import Any, Callable, Optional
1112

1213

1314
def _patch_error_tracing():

0 commit comments

Comments
 (0)