ansys.pyoptics.speos.grpc_stub#
Module to handle gRPC stub.
This module allows to get gRPC stub
Examples#
>>> from ansys.pyoptics import speos
>>> import ansys.api.speos.results.v1.lpf_file_reader_pb2_grpc as lpf_file_reader__v1__pb2_grpc
>>> speos.get_stub_insecure_channel(
port=50051,
stub_type=lpf_file_reader__v1__pb2_grpc.LpfFileReader_MonoStub)
Functions
|
Get gRPC stub with insecure channel. |