Skip to content

Commit ba09279

Browse files
remove unused imports
1 parent 65a230f commit ba09279

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

sentry_sdk/integrations/openai_agents/patches/agent_run.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
from functools import wraps
33

44
from sentry_sdk.integrations import DidNotEnable
5-
from sentry_sdk.tracing_utils import set_span_errored
65
from sentry_sdk.utils import reraise
76
from ..spans import (
87
invoke_agent_span,
9-
update_invoke_agent_span,
108
end_invoke_agent_span,
119
handoff_span,
1210
)
13-
from ..utils import _capture_exception, _record_exception_on_span
11+
from ..utils import _record_exception_on_span
1412

1513
from typing import TYPE_CHECKING
1614

sentry_sdk/integrations/openai_agents/patches/error_tracing.py

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

33
import sentry_sdk
4-
from sentry_sdk.consts import SPANSTATUS
54
from sentry_sdk.tracing_utils import set_span_errored
65
from ..utils import _record_exception_on_span
76

87
from typing import TYPE_CHECKING
98

109
if TYPE_CHECKING:
11-
from typing import Any, Callable, Optional
10+
from typing import Any
1211

1312

1413
def _patch_error_tracing():

0 commit comments

Comments
 (0)