Merge pull request #17570 from lidizheng/fix-complain

Fix Complain of Higher Version Pylint
pull/17574/head
Lidi Zheng 6 years ago committed by GitHub
commit 102d5d88a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/python/grpcio_status/grpc_status/rpc_status.py

@ -24,7 +24,7 @@ import grpc
import google.protobuf # pylint: disable=unused-import
from google.rpc import status_pb2
_CODE_TO_GRPC_CODE_MAPPING = dict([(x.value[0], x) for x in grpc.StatusCode])
_CODE_TO_GRPC_CODE_MAPPING = {x.value[0]: x for x in grpc.StatusCode}
_GRPC_DETAILS_METADATA_KEY = 'grpc-status-details-bin'

Loading…
Cancel
Save