Make pytype happy

pull/23556/head
Lidi Zheng 4 years ago
parent b5f107d470
commit 6e96a47dd6
  1. 2
      src/python/grpcio/grpc/experimental/aio/_metadata.py

@ -107,7 +107,7 @@ class Metadata(abc.Mapping):
return tuple(self) == other
return NotImplemented # pytype: disable=bad-return-type
def __add__(self, other: Any) -> bool:
def __add__(self, other: Any) -> Metadata:
if isinstance(other, self.__class__):
return Metadata(*(tuple(self) + tuple(other)))
if isinstance(other, tuple):

Loading…
Cancel
Save