0

I was wondering if it is possible to generate the interfaces from a git repository location instead of relative directory locations.

I tried

python -m grpc.tools.protoc \
    --proto_path=https://github..../../protos/ \
    --grpc_python_out=. https://github..../..protos/required.proto

but it doesn't work with the error https://github..../../protos/required.proto: No such file or directory exists

1 Answer 1

1

This feature is not supported in any protobuf implementation I know of. You'll have to download the proto files indicated somehow as well as all of their dependencies.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.