google / google/protobuf-gradle-plugin
How to generate grpc_python_out?
Nobody has claimed this yet.
- Dominant language
- Groovy
- Stars
- 1.8k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
I used the following code to generate the python classes
```
protobuf {
protoc {
artifact = 'com.google.protobuf:protoc:3.4.0'
}
plugins {
python {
}
}
generateProtoTasks {
// all() returns the collection of all protoc tasks
all().each { task ->
task.builtins {
remove java
python {}
}
}
}
}
```
I have problems though..
It generates the in the build/generated/source/proto/main/python but it does not generate my grpc_python_out? Is there a way to configure this? I am looking for something like _pb2_grpc.py but I cant seem to find it.
Any hints?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the protobuf configuration shown in the issue and inspect build/generated/source/proto/main/python to compare the generated Python files with the requested _pb2_grpc.py output. Determine whether the configuration needs a gRPC Python generator, and consider the work complete when that file is generated for the proto input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy, python
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100