open-telemetry / opentelemetry-python

OpenTelemetry Python API and SDK
https://opentelemetry.io
Apache License 2.0
1.66k stars 568 forks source link

changed typing.Dict to typing.Mapping #3987

Closed soumyadeepm04 closed 5 days ago

soumyadeepm04 commented 1 week ago

Description

changed typing.Dict to typing.Mapping to fix mypy warning.

Fixes #3696

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Does This PR Require a Contrib Repo Change?

Answer the following question based on these examples of changes that would require a Contrib Repo Change:

Checklist:

soumyadeepm04 commented 1 week ago

the public-symbols-check passes locally but doesn't pass here (I don't create any public symbols). Could someone help with what the reason could be?