diff options
author | heretic <heretic@yandex-team.ru> | 2022-03-25 12:34:53 +0300 |
---|---|---|
committer | heretic <heretic@yandex-team.ru> | 2022-03-25 12:34:53 +0300 |
commit | a41f3739eed6fceb6f62056a7620d220958a47e7 (patch) | |
tree | 278103258b510cb4a96761ea79d6ccd397ca05a0 /contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz | |
parent | 73d3613a82e5c217fcbe0ab8bbf8120c1ed1af55 (diff) | |
download | ydb-a41f3739eed6fceb6f62056a7620d220958a47e7.tar.gz |
Update grpc to 1.43.2 DTCC-864
ref:50a492c335cda70f458797cf945e49fe739c2715
Diffstat (limited to 'contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz')
3 files changed, 5 insertions, 7 deletions
diff --git a/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_async.py b/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_async.py index 3f0d93fdc3..463f5e14dc 100644 --- a/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_async.py +++ b/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_async.py @@ -14,10 +14,10 @@ """AsyncIO version of Channelz servicer.""" from grpc.experimental import aio - +from grpc_channelz.v1._servicer import \ + ChannelzServicer as _SyncChannelzServicer import grpc_channelz.v1.channelz_pb2 as _channelz_pb2 import grpc_channelz.v1.channelz_pb2_grpc as _channelz_pb2_grpc -from grpc_channelz.v1._servicer import ChannelzServicer as _SyncChannelzServicer class ChannelzServicer(_channelz_pb2_grpc.ChannelzServicer): diff --git a/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_servicer.py b/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_servicer.py index 6ba28f56a3..2d44976ec1 100644 --- a/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_servicer.py +++ b/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_servicer.py @@ -13,14 +13,12 @@ # limitations under the License. """Channelz debug service implementation in gRPC Python.""" +from google.protobuf import json_format import grpc from grpc._cython import cygrpc - import grpc_channelz.v1.channelz_pb2 as _channelz_pb2 import grpc_channelz.v1.channelz_pb2_grpc as _channelz_pb2_grpc -from google.protobuf import json_format - class ChannelzServicer(_channelz_pb2_grpc.ChannelzServicer): """Servicer handling RPCs for service statuses.""" diff --git a/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/channelz.py b/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/channelz.py index 508fad5397..605150b79a 100644 --- a/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/channelz.py +++ b/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/channelz.py @@ -14,10 +14,10 @@ """Channelz debug service implementation in gRPC Python.""" import sys -import grpc -import grpc_channelz.v1.channelz_pb2_grpc as _channelz_pb2_grpc +import grpc from grpc_channelz.v1._servicer import ChannelzServicer +import grpc_channelz.v1.channelz_pb2_grpc as _channelz_pb2_grpc _add_channelz_servicer_doc = """Add Channelz servicer to a server. |