Skip to content

Commit a8cd8ff

Browse files
committed
fixed ruff
1 parent 3297cf0 commit a8cd8ff

File tree

1 file changed

+1
-2
lines changed
  • instrumentation-genai/opentelemetry-instrumentation-langchain/src/opentelemetry/instrumentation/langchain

1 file changed

+1
-2
lines changed

instrumentation-genai/opentelemetry-instrumentation-langchain/src/opentelemetry/instrumentation/langchain/span_manager.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import time
1615
from dataclasses import dataclass, field
1716
from typing import Dict, List, Optional
1817
from uuid import UUID
@@ -21,10 +20,10 @@
2120
from opentelemetry.semconv._incubating.attributes import (
2221
gen_ai_attributes as GenAI,
2322
)
24-
from opentelemetry.trace import Span, SpanKind, Tracer, set_span_in_context
2523
from opentelemetry.semconv.attributes import (
2624
error_attributes as ErrorAttributes,
2725
)
26+
from opentelemetry.trace import Span, SpanKind, Tracer, set_span_in_context
2827
from opentelemetry.trace.status import Status, StatusCode
2928

3029

0 commit comments

Comments
 (0)