I encountered this while trying to help sentry-python prepare for the changes mentioned in #371. Their linter errored with "PackageMetadata" has no attribute "get", since metadata is advertised to return _meta.PackageMetadata, but actually returns _adapters.Message.
Is this intended, and if so what is the workaroud for the linter?
Reproduction steps:
git clone git@github.com:mpurnell1/sentry-python.git
pip install tox
tox -e linters
I encountered this while trying to help sentry-python prepare for the changes mentioned in #371. Their linter errored with
"PackageMetadata" has no attribute "get", since metadata is advertised to return _meta.PackageMetadata, but actually returns _adapters.Message.Is this intended, and if so what is the workaroud for the linter?
Reproduction steps:
git clone git@github.com:mpurnell1/sentry-python.gitpip install toxtox -e linters