Skip to content

Commit b5d8f50

Browse files
authored
Merge branch 'main' into urllib3-snippet
2 parents b246096 + db52193 commit b5d8f50

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dev-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pylint==3.0.2
22
httpretty==1.1.4
3-
pyright==v1.1.390
3+
pyright==v1.1.396
44
sphinx==7.1.2
55
sphinx-rtd-theme==2.0.0rc4
66
sphinx-autodoc-typehints==1.25.2

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

+2-2
Original file line numberDiff line numberDiff 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,

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ pythonVersion = "3.8"
196196
reportPrivateUsage = false # Ignore private attributes added by instrumentation packages.
197197
# Add progressively instrumentation packages here.
198198
include = [
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.

0 commit comments

Comments
 (0)