#16584·phoenix

Remove the local AttributeValue alias once opentelemetry-api fixes its type alias

Author: axiomofjoyCreated Sep 28, 2026Updated Sep 28, 2026

opentelemetry-api 1.45.0 defines AnyValue = AttributeValue = ... by chained assignment, which mypy does not accept as a type alias (open-telemetry/opentelemetry-python#5701). #16549 works around it with a mirror alias in phoenix.trace.attributes that the server imports instead of opentelemetry.util.types.AttributeValue.

Once the fix ships and the root pins move to that release, delete the alias and switch the imports back.