Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

- `opentelemetry-sdk` - Fix the type hint of the `_metrics_data` property to allow `None` ([#4837](https://github.com/open-telemetry/opentelemetry-python/pull/4837)

## Version 1.39.0/0.60b0 (2025-12-03)

- `opentelemetry-api`: Convert objects of any type other than AnyValue in attributes to string to be exportable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def __init__(
preferred_aggregation=preferred_aggregation,
)
self._lock = RLock()
self._metrics_data: MetricsData = None
self._metrics_data: MetricsData | None = None

def get_metrics_data(
self,
Expand Down