Skip to content

Commit 1760c68

Browse files
committed
Fix for python 3.8
1 parent 23b063d commit 1760c68

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,6 @@ def _parts_to_any_value(
185185
return None
186186

187187
return [
188-
cast(dict[str, AnyValue], type(part).to_dict(part)) # type: ignore[reportUnknownMemberType]
188+
cast("dict[str, AnyValue]", type(part).to_dict(part)) # type: ignore[reportUnknownMemberType]
189189
for part in parts
190190
]

0 commit comments

Comments
 (0)