Skip to content

Support pyi_out in py_proto_library #10366

Open
@micahjsmith

Description

@micahjsmith

Recently, the --pyi_out flag was added to protoc, which is really great. I have a project where protos are compiled using bazel/py_proto_library. From everything that I have seen, there is no ability to additionally generate the .pyi files using this mode.

  • is it currently possible to generate .pyi files using py_proto_library? if so, how?
  • if not, what would be a path to add this support? I'm happy to make a PR (with maybe a few pointers)

thanks!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions