mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-25 11:03:58 +08:00
bump pyright (#3355)
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
pylint==3.0.2
|
||||
httpretty==1.1.4
|
||||
pyright==v1.1.390
|
||||
pyright==v1.1.396
|
||||
sphinx==7.1.2
|
||||
sphinx-rtd-theme==2.0.0rc4
|
||||
sphinx-autodoc-typehints==1.25.2
|
||||
|
@ -240,7 +240,7 @@ def request_to_events(
|
||||
id_=f"{function_response.name}_{idx}",
|
||||
role=content.role,
|
||||
content=json_format.MessageToDict(
|
||||
function_response._pb.response # type: ignore[reportUnknownMemberType]
|
||||
function_response._pb.response
|
||||
)
|
||||
if capture_content
|
||||
else None,
|
||||
@ -300,7 +300,7 @@ def _extract_tool_calls(
|
||||
function=ChoiceToolCall.Function(
|
||||
name=part.function_call.name,
|
||||
arguments=json_format.MessageToDict(
|
||||
part.function_call._pb.args # type: ignore[reportUnknownMemberType]
|
||||
part.function_call._pb.args
|
||||
)
|
||||
if capture_content
|
||||
else None,
|
||||
|
@ -196,8 +196,8 @@ pythonVersion = "3.8"
|
||||
reportPrivateUsage = false # Ignore private attributes added by instrumentation packages.
|
||||
# Add progressively instrumentation packages here.
|
||||
include = [
|
||||
"instrumentation/opentelemetry-instrumentation-threading/**/*.py",
|
||||
"instrumentation-genai/opentelemetry-instrumentation-vertexai/**/*.py",
|
||||
"instrumentation/opentelemetry-instrumentation-threading",
|
||||
"instrumentation-genai/opentelemetry-instrumentation-vertexai",
|
||||
]
|
||||
# We should also add type hints to the test suite - It helps on finding bugs.
|
||||
# We are excluding for now because it's easier, and more important to add to the instrumentation packages.
|
||||
|
Reference in New Issue
Block a user