镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[release/v1.45.x-0.66bx] Declare AnyValue and AttributeValue as explicit type aliases - #5750

Merged
emdneto merged 1 commit into
release/v1.45.x-0.66bxfrom
otelbot/backport-5703-to-release-v1.45.x-0.66bx
Oct 6, 2026
Merged

emdneto merged 1 commit into
release/v1.45.x-0.66bxfrom
otelbot/backport-5703-to-release-v1.45.x-0.66bx

Conversation

@otelbot

@otelbot otelbot Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Clean cherry-pick of #5703 to the release/v1.45.x-0.66bx branch.

* Declare AnyValue and AttributeValue as explicit type aliases

`AnyValue = AttributeValue = ...` is a chained assignment, which type
checkers don't recognize as a type alias: mypy rejects both names and
pyright rejects `AnyValue`, so annotations using them fail with
`valid-type` / `reportInvalidTypeForm`.

Fixes #5701

Assisted-by: Claude Opus 5.5

* Add changelog fragment

Assisted-by: Claude Opus 5.5
@otelbot
otelbot Bot requested a review from a team as a code owner October 6, 2026 15:08
@emdneto emdneto added the backport Use during release PRs. Change CONTRIB_REPO_SHA to point to BASE branch name label Oct 6, 2026
@emdneto emdneto closed this Oct 6, 2026
@emdneto emdneto reopened this Oct 6, 2026
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-10-06 15:49 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

@emdneto emdneto added the Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary label Oct 6, 2026
@otelbot otelbot Bot added the backport Use during release PRs. Change CONTRIB_REPO_SHA to point to BASE branch name label Oct 6, 2026
@github-project-automation github-project-automation Bot moved this to Approved PRs in Python PR digest Oct 6, 2026
@emdneto
emdneto merged commit db61173 into release/v1.45.x-0.66bx Oct 6, 2026
816 of 1151 checks passed
@emdneto
emdneto deleted the otelbot/backport-5703-to-release-v1.45.x-0.66bx branch October 6, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary backport Use during release PRs. Change CONTRIB_REPO_SHA to point to BASE branch name

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants