Skip to content

Commit b0bee4b

Browse files
committed
fix(vertexai): remove stale pyright ignores
1 parent 7d4bc85 commit b0bee4b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • instrumentation-genai/opentelemetry-instrumentation-vertexai/src/opentelemetry/instrumentation/vertexai

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def handle_response(
173173
| None,
174174
) -> None:
175175
attributes = (
176-
get_server_attributes(instance.api_endpoint) # type: ignore[reportUnknownMemberType]
176+
get_server_attributes(instance.api_endpoint)
177177
| request_attributes
178178
| get_genai_response_attributes(response)
179179
)
@@ -257,7 +257,7 @@ def _with_default_instrumentation(
257257
kwargs: Any,
258258
):
259259
params = _extract_params(*args, **kwargs)
260-
api_endpoint: str = instance.api_endpoint # type: ignore[reportUnknownMemberType]
260+
api_endpoint: str = instance.api_endpoint
261261
span_attributes = {
262262
**get_genai_request_attributes(False, params),
263263
**get_server_attributes(api_endpoint),

0 commit comments

Comments
 (0)