Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 84d9598

Browse files
authored
Merge branch 'main' into span-limits-do-not-raise
2 parents df043dd + 2098c56 commit 84d9598

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Changed
1010
- Updated get_tracer to return an empty string when passed an invalid name
1111
([#1854](https://github.com/open-telemetry/opentelemetry-python/pull/1854))
12+
- Changed AttributeValue sequences to warn mypy users on adding None values to array
13+
([#1855](https://github.com/open-telemetry/opentelemetry-python/pull/1855))
1214

1315
## [1.2.0, 0.21b0](https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.2.0-0.21b0) - 2021-05-11
1416

opentelemetry-api/src/opentelemetry/util/types.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
bool,
2121
int,
2222
float,
23-
Sequence[Optional[str]],
24-
Sequence[Optional[bool]],
25-
Sequence[Optional[int]],
26-
Sequence[Optional[float]],
23+
Sequence[str],
24+
Sequence[bool],
25+
Sequence[int],
26+
Sequence[float],
2727
]
2828
Attributes = Optional[Mapping[str, AttributeValue]]
2929
AttributesAsKey = Tuple[

0 commit comments

Comments
 (0)