We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opentelemetry-python/opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py
Lines 427 to 433 in 73230b6
Attempts to pass self._links: Sequence[trace_api.Link] or self._events: Sequence[Event] as argument to MappingProxyType().
self._links: Sequence[trace_api.Link]
self._events: Sequence[Event]
MappingProxyType()
Result:
TypeError: mappingproxy() argument must be a mapping, not list
The text was updated successfully, but these errors were encountered:
Surprised how this is working then, TIL: BoundedList implementation doesn't throw the type error.
BoundedList
Sorry, something went wrong.
Only caught it because I'm working on parsing json to ReadableSpans. Seems that wasn't extracted cleanly from the Span implementation.
Successfully merging a pull request may close this issue.
opentelemetry-python/opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py
Lines 427 to 433 in 73230b6
Attempts to pass
self._links: Sequence[trace_api.Link]
orself._events: Sequence[Event]
as argument toMappingProxyType()
.Result:
The text was updated successfully, but these errors were encountered: