TechnologyFebruary 27, 2019

KillrVideo Python Pt. 2 — App Dev with ProtoBuf and GRPC

Jeffrey Carpenter
Jeffrey CarpenterSoftware Engineer - Stargate
KillrVideo Python Pt. 2 — App Dev with ProtoBuf and GRPC
$ pip install grpcio-tools
python -m grpc_tools.protoc -I. --python_out=../../../killrvideo --grpc_python_out=../../../killrvideo comments/*.proto common/*.proto ratings/*.proto search/*.proto statistics/*.proto suggested-videos/*.proto uploads/*.proto user-management/*.proto video-catalog/*.proto
class UserManagementServiceServicer( user_management_service_pb2_grpc.UserManagementServiceServicer): """Provides methods that implement functionality of the UserManagement Service.""" def __init__(self, grpc_server, user_management_service): self.user_management_service = user_management_service user_management_service_pb2_grpc.add_UserManagementServiceServicer_to_server(self, grpc_server)
Discover more

One-stop Data API for Production GenAI

Astra DB gives JavaScript developers a complete data API and out-of-the-box integrations that make it easier to build production RAG apps with high relevancy and low latency.