Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 27912d4

Browse files
authored
Import Path Inconsistency (openai#960)
There's an inconsistent import style in the tracing module where one import uses an absolute path in line number 3 while all others use relative imports Additionally: Also fixed the ordering of the imports
1 parent 017ad69 commit 27912d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/agents/tracing/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import atexit
22

3-
from agents.tracing.provider import DefaultTraceProvider, TraceProvider
4-
53
from .create import (
64
agent_span,
75
custom_span,
@@ -20,6 +18,7 @@
2018
)
2119
from .processor_interface import TracingProcessor
2220
from .processors import default_exporter, default_processor
21+
from .provider import DefaultTraceProvider, TraceProvider
2322
from .setup import get_trace_provider, set_trace_provider
2423
from .span_data import (
2524
AgentSpanData,

0 commit comments

Comments
 (0)