Skip to content

Commit 10f2a2c

Browse files
committed
get rid of typing.Any subclass
1 parent da3b6a4 commit 10f2a2c

File tree

1 file changed

+2
-2
lines changed
  • instrumentation-genai/opentelemetry-instrumentation-vertexai/src/opentelemetry/instrumentation/vertexai

1 file changed

+2
-2
lines changed

instrumentation-genai/opentelemetry-instrumentation-vertexai/src/opentelemetry/instrumentation/vertexai/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ class TextPart:
9494

9595

9696
@dataclass()
97-
class InputMessage(Any):
97+
class InputMessage:
9898
role: str
9999
parts: list[MessagePart]
100100

101101

102102
@dataclass()
103-
class OutputMessage(Any):
103+
class OutputMessage:
104104
role: str
105105
parts: list[MessagePart]
106106
finish_reason: Union[str, FinishReason]

0 commit comments

Comments
 (0)