Skip to content

Commit 1384bfd

Browse files
committed
Removing unnecessary comments
1 parent 312c697 commit 1384bfd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • util/opentelemetry-util-genai/src/opentelemetry/util/genai

util/opentelemetry-util-genai/src/opentelemetry/util/genai/handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,11 @@ def start_llm(
259259
"""Start an LLM invocation and create a pending span entry."""
260260
return self.start(invocation)
261261

262-
def stop_llm(self, invocation: LLMInvocation) -> LLMInvocation: # pylint: disable=no-self-use
262+
def stop_llm(self, invocation: LLMInvocation) -> LLMInvocation:
263263
"""Finalize an LLM invocation successfully and end its span."""
264264
return self.stop(invocation)
265265

266-
def fail_llm( # pylint: disable=no-self-use
266+
def fail_llm(
267267
self, invocation: LLMInvocation, error: Error
268268
) -> LLMInvocation:
269269
"""Fail an LLM invocation and end its span with error status."""

0 commit comments

Comments
 (0)