Commit 7cef070
Fix the type hint of _metrics_data within InMemoryMetricReader (#4837)
* Fix the type hint of _metrics_data within InMemoryMetricReader
This gets initialized to None, so the type hint should be MetricsData | None
* Add CHANGELOG entry
* Update CHANGELOG.md
---------
Co-authored-by: Riccardo Magliocchetti <[email protected]>1 parent 8101abd commit 7cef070
File tree
2 files changed
+3
-1
lines changed- opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/export
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
| 409 | + | |
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| |||
0 commit comments