Add --pyi_out flag to generate Python type information.

Closes #68.
This commit is contained in:
Orne Brocaar
2023-01-11 11:01:55 +00:00
parent 438d120fb0
commit 9f3a76f5fb
16 changed files with 3398 additions and 1 deletions

2
api/python/Makefile vendored
View File

@ -1,7 +1,7 @@
.PHONY: requirements common gw api integration meta
PROTOC := python -m grpc_tools.protoc
PROTOC_ARGS := -I=/googleapis -I=proto --python_out=src --grpc_python_out=src
PROTOC_ARGS := -I=/googleapis -I=proto --python_out=src --grpc_python_out=src --pyi_out=src
PACKAGE_NAME := import \"chirpstack-api/
all: requirements pre-build common gw api integration meta