def __init__(self, endpoint):
"""
Initializes a new instance of BblfshClient.
:param endpoint: The address of the Babelfish server, \
for example "0.0.0.0:9432"
:type endpoint: str
"""
self._channel = grpc.insecure_channel(endpoint)
self._stub = ProtocolServiceStub(self._channel)
评论列表
文章目录