Skip to content

Commit 1001227

Browse files
author
Andrei Bratu
committed
mypy nit
1 parent 246c728 commit 1001227

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/humanloop/decorators/tool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def wrapper(*args: P.args, **kwargs: P.kwargs) -> Optional[R]:
6464
with opentelemetry_tracer.start_as_current_span("humanloop.tool") as span:
6565
# Write the Tool Kernel to the Span on HL_FILE_OT_KEY
6666
write_to_opentelemetry_span(
67-
span=span,
67+
span=span, # type: ignore [arg-type]
6868
key=HUMANLOOP_FILE_KEY,
6969
value=tool_kernel, # type: ignore [arg-type]
7070
)
@@ -104,7 +104,7 @@ def wrapper(*args: P.args, **kwargs: P.kwargs) -> Optional[R]:
104104
}
105105
# Write the Tool Log to the Span on HL_LOG_OT_KEY
106106
write_to_opentelemetry_span(
107-
span=span,
107+
span=span, # type: ignore [arg-type]
108108
key=HUMANLOOP_LOG_KEY,
109109
value=tool_log, # type: ignore [arg-type]
110110
)

0 commit comments

Comments
 (0)