Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(grpc): Return proper metadata object instead of list in… (#3205)
* fix(grpc): Return propagate proper metadata object instead of list in client interceptor Fixes #2509 * fix(grpc): Transform metadata into Metadata object in case it's a tuple Up until version 1.65.0 of grpcio, the metadata was not guaranteed to arrive as the type specified in annotations but could be a tuple. To support versions before that we check and transform it here. * docs(grpc): Add comment about workaround --------- Co-authored-by: Anton Pirker <[email protected]> Co-authored-by: Daniel Szoke <[email protected]>
- Loading branch information