Avoid dancing diff

pull/25366/head
Richard Belleville 4 years ago
parent 3cf0266843
commit 95b06a7bd4
  1. 10
      src/python/grpcio_tests/tests_py3_only/interop/xds_interop_client.py

@ -44,16 +44,16 @@ _SUPPORTED_METHODS = (
"EmptyCall",
)
_METHOD_STR_TO_ENUM = {
"UnaryCall": messages_pb2.ClientConfigureRequest.UNARY_CALL,
"EmptyCall": messages_pb2.ClientConfigureRequest.EMPTY_CALL,
}
_METHOD_CAMEL_TO_CAPS_SNAKE = {
"UnaryCall": "UNARY_CALL",
"EmptyCall": "EMPTY_CALL",
}
_METHOD_STR_TO_ENUM = {
"UnaryCall": messages_pb2.ClientConfigureRequest.UNARY_CALL,
"EmptyCall": messages_pb2.ClientConfigureRequest.EMPTY_CALL,
}
_METHOD_ENUM_TO_STR = {v: k for k, v in _METHOD_STR_TO_ENUM.items()}
PerMethodMetadataType = Mapping[str, Sequence[Tuple[str, str]]]

Loading…
Cancel
Save