Skip to content

Python grpc.aio metadata is transformed to list #2509

Closed
@kindermax

Description

@kindermax

How do you use Sentry?

Sentry Saas (sentry.io)

Version

1.35.0

Steps to Reproduce

Hi, in latest sentry-sdk release a new Client interceptor was added for grpc.aio client. The problems is that metadata is transformed into a list and it breaks all subsequent interceptors which expect metadata to be grpc.aio.Metadata object (https://github.com/grpc/grpc/blob/master/src/python/grpcio/grpc/aio/_interceptor.py#L93C14-L93C14)

Expected Result

Maybe metadata needs to be preserved as type grpc.aio.Metadata

Actual Result

For now i see error that metadata is a list
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Integration: gRPCTriagedHas been looked at recently during old issue triage

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions