Unified ServeSegments

This commit is contained in:
Eden Kirin
2023-03-22 23:09:54 +01:00
parent 1d26d6625e
commit 1542bd98c2
38 changed files with 1217 additions and 1743 deletions

View File

@ -13,9 +13,7 @@ proto:
--python_out=$(STUBS_DIR) \
--pyi_out=$(STUBS_DIR) \
--grpc_python_out=$(STUBS_DIR) \
$(PROTO_DIR)/serve_hours.proto \
$(PROTO_DIR)/serve_minutes.proto \
$(PROTO_DIR)/serve_seconds.proto \
$(PROTO_DIR)/serve_milliseconds.proto \
$(PROTO_DIR)/serve_segments.proto \
$(PROTO_DIR)/serve_currenttime.proto
@sed -i -E 's/^(import\s[a-zA-Z0-9_]+_pb2)/from . \1/g' $(STUBS_DIR)/*_grpc.py