How to generate a single python file from several proto files

450 views
Skip to first unread message

Miguel de Dios Matias

unread,
Mar 14, 2022, 4:38:09 PM3/14/22
to grpc.io
Hi.

I have a project with a jobmate about grpc. And my jobmate have chop the big proto file in several files. Well, this is correct but I can generate the correct python files.

The proto directory is now as:

$ tree proto/
proto/
├── common
│   └── request.proto
├── file
│   ├── file.proto
│   └── file_service.proto
├── job
│   ├── job.proto
│   └── job_service.proto
├── pool
│   ├── pool.proto
│   └── pool_service.proto
└── worker
    ├── worker.proto
    └── worker_service.proto
5 directories, 9 files


Thanks and regards.

Lidi Zheng

unread,
Mar 16, 2022, 12:52:51 PM3/16/22
to grpc.io
Replied in the SO post.
Reply all
Reply to author
Forward
0 new messages