File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
instrumentation-genai/opentelemetry-instrumentation-vertexai/src/opentelemetry/instrumentation/vertexai Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11pylint==3.0.2
22httpretty==1.1.4
3- pyright==v1.1.390
3+ pyright==v1.1.396
44sphinx==7.1.2
55sphinx-rtd-theme==2.0.0rc4
66sphinx-autodoc-typehints==1.25.2
Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ def request_to_events(
240240 id_ = f"{ function_response .name } _{ idx } " ,
241241 role = content .role ,
242242 content = json_format .MessageToDict (
243- function_response ._pb .response # type: ignore[reportUnknownMemberType]
243+ function_response ._pb .response
244244 )
245245 if capture_content
246246 else None ,
@@ -300,7 +300,7 @@ def _extract_tool_calls(
300300 function = ChoiceToolCall .Function (
301301 name = part .function_call .name ,
302302 arguments = json_format .MessageToDict (
303- part .function_call ._pb .args # type: ignore[reportUnknownMemberType]
303+ part .function_call ._pb .args
304304 )
305305 if capture_content
306306 else None ,
Original file line number Diff line number Diff line change @@ -196,8 +196,8 @@ pythonVersion = "3.8"
196196reportPrivateUsage = false # Ignore private attributes added by instrumentation packages.
197197# Add progressively instrumentation packages here.
198198include = [
199- " instrumentation/opentelemetry-instrumentation-threading/**/*.py " ,
200- " instrumentation-genai/opentelemetry-instrumentation-vertexai/**/*.py " ,
199+ " instrumentation/opentelemetry-instrumentation-threading" ,
200+ " instrumentation-genai/opentelemetry-instrumentation-vertexai" ,
201201]
202202# We should also add type hints to the test suite - It helps on finding bugs.
203203# We are excluding for now because it's easier, and more important to add to the instrumentation packages.
You can’t perform that action at this time.
0 commit comments